diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-01-27 18:26:21 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-02-08 21:43:18 +0100 |
commit | bfc1f4d55d02553f761fbc9acc5ed15103455149 (patch) | |
tree | cb1650750c2ff1587f7cd0fd215d2179822568ae /packages/test-utils/package.json | |
parent | refactor: Extract main window hardening (diff) | |
download | sophie-bfc1f4d55d02553f761fbc9acc5ed15103455149.tar.gz sophie-bfc1f4d55d02553f761fbc9acc5ed15103455149.tar.zst sophie-bfc1f4d55d02553f761fbc9acc5ed15103455149.zip |
build: Add test-utils package
Added as a common devDependency, this lets us handle test utility code
from one place.
For now, the main reason for its existence is the workaround code for
importing jest-each from ESM.
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/test-utils/package.json')
-rw-r--r-- | packages/test-utils/package.json | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json new file mode 100644 index 0000000..9270af2 --- /dev/null +++ b/packages/test-utils/package.json | |||
@@ -0,0 +1,17 @@ | |||
1 | { | ||
2 | "name": "@sophie/test-utils", | ||
3 | "version": "0.1.0", | ||
4 | "private": true, | ||
5 | "sideEffects": false, | ||
6 | "type": "module", | ||
7 | "types": "dist/index.d.ts", | ||
8 | "scripts": { | ||
9 | "typecheck:workspace": "yarn g:typecheck", | ||
10 | "types": "yarn g:types" | ||
11 | }, | ||
12 | "dependencies": { | ||
13 | "@types/jest": "^27.4.0", | ||
14 | "jest": "^27.4.7", | ||
15 | "jest-each": "^27.4.6" | ||
16 | } | ||
17 | } | ||