Fix jest tests by adding tz to mocks
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
f24ec89408
commit
1df9f84c20
@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
"build": "yarn run build:assets && yarn run build:pictures",
|
"build": "yarn run build:assets && yarn run build:pictures",
|
||||||
"test:unit": "LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 vue-cli-service test:unit",
|
"test:unit": "LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 TZ=UTC vue-cli-service test:unit",
|
||||||
"test:e2e": "vue-cli-service test:e2e",
|
"test:e2e": "vue-cli-service test:e2e",
|
||||||
"lint": "vue-cli-service lint",
|
"lint": "vue-cli-service lint",
|
||||||
"build:assets": "vue-cli-service build",
|
"build:assets": "vue-cli-service build",
|
||||||
|
@ -61,6 +61,7 @@ export const joinEventMock = {
|
|||||||
email: "some@email.tld",
|
email: "some@email.tld",
|
||||||
message: "a message long enough",
|
message: "a message long enough",
|
||||||
locale: "en_US",
|
locale: "en_US",
|
||||||
|
timezone: "UTC",
|
||||||
};
|
};
|
||||||
|
|
||||||
export const eventNoCommentThreadsMock = {
|
export const eventNoCommentThreadsMock = {
|
||||||
|
Loading…
Reference in New Issue
Block a user