@jest-mock/express
Version:
A lightweight Jest mock for unit testing Express
61 lines (60 loc) • 1.65 kB
JSON
{
"name": "@jest-mock/express",
"version": "3.0.0",
"description": "A lightweight Jest mock for unit testing Express",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest --coverage",
"test-verbose": "jest --coverage --verbose",
"test-watch": "jest \"/*.ts\" --watchAll",
"test-watch-all": "jest --watchAll",
"lint": "tsc --noEmit && eslint '*/**/*.{js,ts}' --quiet --fix",
"build": "tsc",
"clean": "rm -rf dist/*",
"prepublishOnly": "yarn && yarn clean && yarn build",
"release": "yarn prepublishOnly && yarn lint && yarn test",
"ci": "yarn release --verbose",
"snyk-protect": "snyk-protect",
"prepare": "yarn run snyk-protect"
},
"repository": {
"type": "git",
"url": "https://github.com/bikk-uk/jest-mock-express.git"
},
"keywords": [
"test",
"testing",
"mock",
"mocking",
"jest",
"express",
"expressjs",
"controller",
"ts",
"typescript"
],
"author": "bikk-uk",
"license": "MIT",
"bugs": {
"url": "https://github.com/bikk-uk/jest-mock-express/issues"
},
"homepage": "https://github.com/bikk-uk/jest-mock-express#readme",
"devDependencies": {
"@snyk/protect": "^1.1291.1",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.7.0",
"prettier": "^2.8.8",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
},
"dependencies": {
"@types/express": "^5.0.0"
},
"snyk": true
}