set up jest
This commit is contained in:
parent
c7a9f1d6ae
commit
5047ee653b
|
@ -0,0 +1,9 @@
|
|||
import type {Config} from '@jest/types';
|
||||
// Sync object
|
||||
const config: Config.InitialOptions = {
|
||||
verbose: true,
|
||||
transform: {
|
||||
‘^.+\\.tsx?$’: ‘ts-jest’,
|
||||
},
|
||||
};
|
||||
export default config;
|
File diff suppressed because it is too large
Load Diff
|
@ -4,7 +4,8 @@
|
|||
"license": "MIT",
|
||||
"scripts": {
|
||||
"deploy": "webpack --mode production",
|
||||
"watch": "webpack --mode development --watch"
|
||||
"watch": "webpack --mode development --watch",
|
||||
"test": "jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@intended/intended-ui": "0.1.26",
|
||||
|
@ -20,6 +21,7 @@
|
|||
"@babel/core": "^7.0.0",
|
||||
"@babel/preset-env": "^7.0.0",
|
||||
"@babel/preset-react": "^7.16.0",
|
||||
"@types/jest": "^27.4.1",
|
||||
"@types/phoenix": "^1.5.3",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
|
@ -27,12 +29,14 @@
|
|||
"copy-webpack-plugin": "^5.1.1",
|
||||
"css-loader": "^3.4.2",
|
||||
"hard-source-webpack-plugin": "^0.13.1",
|
||||
"jest": "^27.5.1",
|
||||
"mini-css-extract-plugin": "^0.9.0",
|
||||
"node-sass": "^4.13.1",
|
||||
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
||||
"sass-loader": "^8.0.2",
|
||||
"source-map-loader": "^3.0.0",
|
||||
"terser-webpack-plugin": "^2.3.2",
|
||||
"ts-jest": "^27.1.3",
|
||||
"ts-loader": "8.2.0",
|
||||
"typescript": "^4.5.2",
|
||||
"webpack": "^4.41.5",
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
## Implementation Details
|
||||
|
||||
Write info on what we'd use, or just start adding in the tests and remove this file.
|
Loading…
Reference in New Issue