Fixed tests

This commit is contained in:
Alec LaLonde
2022-07-26 00:05:23 -05:00
committed by Alec LaLonde
parent 403dbd2d48
commit 49f1bc9a04
6 changed files with 348 additions and 328 deletions

View File

@@ -80,13 +80,14 @@
"graphql": "16.3.0",
"hasura-cli": "1.3.3",
"husky": "7.0.4",
"jest": "28.1.2",
"jest": "28.1.3",
"lerna": "4.0.0",
"lint-staged": "12.3.5",
"prettier": "2.7.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"standard-version": "9.3.2",
"ts-jest": "28.0.7",
"tsdx": "0.14.1",
"typescript": "4.6.2",
"wait-on": "6.0.1"

View File

@@ -1,3 +1,5 @@
module.exports = {
testEnvironment: 'node',
preset: 'ts-jest',
moduleDirectories: ['node_modules', 'src'],
};

View File

@@ -13,7 +13,7 @@
"precommit": "yarn lint-staged",
"generate": "DEBUG=1 graphql-codegen --config=codegen.yml",
"lintfix": "eslint --fix",
"test": "tsdx test --passWithNoTests"
"test": "jest --passWithNoTests"
},
"author": "MetaFam",
"license": "ISC",

View File

@@ -1,3 +1,4 @@
module.exports = {
testEnvironment: 'node',
preset: 'ts-jest',
};

View File

@@ -11,7 +11,7 @@
"dev": "yarn build --watch",
"typecheck": "yarn build",
"precommit": "yarn lint-staged",
"test": "tsdx test --passWithNoTests"
"test": "jest --passWithNoTests"
},
"dependencies": {
"@datamodels/identity-profile-basic": "0.1.2",

666
yarn.lock

File diff suppressed because it is too large Load Diff