mocha-expect-snapshot
Version:
Mocha plugin to use `expect` with `jest-snapshot` and derived projects like `jest-image-snapshot`.
83 lines (82 loc) • 2.17 kB
JSON
{
"name": "mocha-expect-snapshot",
"version": "7.2.0",
"keywords": [
"mocha",
"expect",
"snapshot",
"jest-snapshot",
"test",
"jest",
"jest-image-snapshot"
],
"bugs": "https://github.com/mshima/mocha-expect-snapshot/issues",
"repository": {
"type": "git",
"url": "git://github.com/mshima/mocha-expect-snapshot.git"
},
"exports": {
".": {
"types": "./lib/jest-snapshot-types.d.ts",
"default": "./lib/jest-snapshot.js"
},
"./old-format": {
"types": "./lib/jest-snapshot-types.d.ts",
"default": "./lib/jest-snapshot-old-format.js"
},
"./new-format": {
"types": "./lib/jest-snapshot-types.d.ts",
"default": "./lib/jest-snapshot-new-format.js"
},
"./combined": {
"types": "./lib/jest-snapshot-types.d.ts",
"default": "./lib/combined.js"
},
"./image": "./lib/jest-image-snapshot.js"
},
"main": "./lib/jest-snapshot.js",
"types": "./lib/jest-snapshot-types.d.ts",
"files": [
"lib"
],
"scripts": {
"fix": "prettier --write . && eslint . --fix",
"mocha:parallel": "nyc --reporter=text mocha --parallel",
"mocha:serial": "mocha --no-parallel",
"pretest": "prettier --check . && eslint .",
"test": "npm run mocha:serial && npm run mocha:parallel",
"update": "UPDATE_TEST_SNAPSHOT=true mocha && UPDATE_EXPECTED_SNAPSHOT=true mocha"
},
"dependencies": {
"@jest/expect": "^29.0.0",
"expect": "^29.0.0",
"jest-snapshot": "^29.0.0",
"picocolors": "^1.1.1"
},
"devDependencies": {
"@types/mocha": "^10.0.9",
"eslint": "^7.26.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"expect": "^29.0.0",
"jest-image-snapshot": "^5.2.0",
"mocha": "^11.0.0",
"nyc": "^15.1.0",
"prettier": "^2.3.1",
"prettier-plugin-packagejson": "^2.5.6",
"proxyquire": "^2.1.3"
},
"peerDependencies": {
"expect": "^29.0.0",
"mocha": "^8.4.0 || ^9.0.0 || ^10.0.0 || ^11.0.0"
},
"peerDependenciesMeta": {
"mocha": {
"optional": true
}
},
"engines": {
"node": ">=14.15.0"
}
}