mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
c0931d94b7
* Update test fixtures and allow sendRequest() callback for testing * Change runTests() to take in test src instead of a file * Fix looping * Fix tests and write temp test files into folder * Fix Flow type for mocha
35 lines
783 B
JSON
35 lines
783 B
JSON
{
|
|
"name": "insomnia-testing",
|
|
"version": "2.2.9",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"typecheck": "flow check",
|
|
"test": "jest",
|
|
"build": "webpack --config webpack.config.js --display errors-only",
|
|
"bootstrap": "npm run build",
|
|
"prepublish": "npm run build"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"testMatch": [
|
|
"**/__tests__/**/*.test.js"
|
|
],
|
|
"verbose": false,
|
|
"resetMocks": true,
|
|
"resetModules": true
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.9.0",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
|
|
"jest": "^26.0.1",
|
|
"webpack": "^4.42.1",
|
|
"webpack-cli": "^3.3.11"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^0.19.2",
|
|
"chai": "^4.2.0",
|
|
"mkdirp": "^1.0.4",
|
|
"mocha": "^8.0.1"
|
|
}
|
|
}
|