From e96e2467572854e77ff237c37ba417dadaee8a47 Mon Sep 17 00:00:00 2001 From: MattIPv4 Date: Fri, 4 Feb 2022 19:12:38 +0000 Subject: [PATCH] Fix Jest tests --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 30144a0..f506bf7 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "dev:tool": "vue-cli-service serve src/nginxconfig/mount.js", "deploy:spaces:comment": "do-vue comment nginxconfig", "test": "npm run test:eslint && npm run test:sass-lint && npm run test:i18n-packs && npm run test:jest", - "test:jest": "jest /test/.*.js?$", + "test:jest": "jest --env=jsdom /test/.*.js?$", "test:fix": "npm run test:eslint:fix", "test:eslint": "eslint 'src/**/*.{js,vue}'", "test:eslint:fix": "npm run test:eslint -- --fix",