From: Eduardo San Martin Morote Date: Wed, 23 Sep 2020 16:35:07 +0000 (+0200) Subject: test: huh? X-Git-Tag: v2.0.0-alpha.2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8914475854af8986d2c9dad68c740ad5007dd6d4;p=thirdparty%2Fvuejs%2Fpinia.git test: huh? --- diff --git a/jest.config.js b/jest.config.js index becdb1fd..69d53a18 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,9 @@ module.exports = { preset: 'ts-jest', + globals: { + __DEV__: true, + __BROWSER__: true, + }, collectCoverage: true, collectCoverageFrom: ['/src/**/*.ts', '!/src/devtools.ts'], testMatch: ['/__tests__/**/*.spec.ts'],