mirror of
https://github.com/prymitive/karma
synced 2026-05-21 04:33:07 +00:00
feat(tests): run tests using non-UTC time zone
This commit is contained in:
11
.travis.yml
11
.travis.yml
@@ -35,6 +35,17 @@ jobs:
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash) -F ui -s ui
|
||||
|
||||
# duplicate js test but with a different time zone, to ensure that tests/code work with non-UTC time zone
|
||||
- stage: Test
|
||||
<<: *DEFAULTS_JS
|
||||
env:
|
||||
- DESC="Test JavaScript code with Pacific/Easter time zone"
|
||||
- NODE_ENV=test
|
||||
- TZ=Pacific/Easter
|
||||
script: make test-js
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash) -F ui -s ui
|
||||
|
||||
- stage: Lint
|
||||
<<: *DEFAULTS_JS
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user