Skip to content

Commit

Permalink
fix(TimezoneSelector): change tests for all timezones
Browse files Browse the repository at this point in the history
  • Loading branch information
msyavuz committed Jan 8, 2025
1 parent 5835167 commit ace0177
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 38 deletions.
37 changes: 0 additions & 37 deletions superset-frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ test('render timezones in correct order for standard time', async () => {
const options = await getSelectOptions();
expect(options[0]).toHaveTextContent('GMT -05:00 (Eastern Standard Time)');
expect(options[1]).toHaveTextContent('GMT -11:00 (Pacific/Midway)');
expect(options[2]).toHaveTextContent('GMT -10:00 (America/Adak)');
expect(options[2]).toHaveTextContent('GMT -11:00 (Pacific/Niue)');
});

test('can select a timezone values and returns canonical timezone name', async () => {
Expand Down

0 comments on commit ace0177

Please sign in to comment.