add jest
parent
8e36104637
commit
b68ed735db
|
@ -0,0 +1,4 @@
|
||||||
|
module.exports = {
|
||||||
|
preset: 'ts-jest',
|
||||||
|
testEnvironment: 'node',
|
||||||
|
};
|
File diff suppressed because it is too large
Load Diff
|
@ -4,8 +4,10 @@
|
||||||
"description": "An open-source ChatGPT app with a voice",
|
"description": "An open-source ChatGPT app with a voice",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"test": "jest",
|
||||||
"start": "npx ts-node --logError src/index.ts"
|
"start": "npx ts-node --logError src/index.ts"
|
||||||
},
|
},
|
||||||
|
"proxy": "http://localhost:3001",
|
||||||
"author": "cogentdev",
|
"author": "cogentdev",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -60,5 +62,10 @@
|
||||||
"y-protocols": "^1.0.5",
|
"y-protocols": "^1.0.5",
|
||||||
"yaml": "^2.2.1",
|
"yaml": "^2.2.1",
|
||||||
"yjs": "^13.5.51"
|
"yjs": "^13.5.51"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/jest": "^29.5.2",
|
||||||
|
"jest": "^29.6.0",
|
||||||
|
"ts-jest": "^29.1.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue