UNPKG

mock-puppeteer-goto

Version:

A Node module to help mock a Puppeteer page's goto method

68 lines (67 loc) 1.87 kB
{ "name": "mock-puppeteer-goto", "version": "0.3.0", "description": "A Node module to help mock a Puppeteer page's goto method", "author": "samdouble", "license": "ISC", "repository": { "type": "git", "url": "git+https://github.com/samdouble/mock-puppeteer-goto.git" }, "main": "dist/index.js", "module": "./dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "audit": "npm-audit", "build": "tsup", "lint": "eslint --ext .ts ./", "test-jest": "nyc --check-coverage --lines 100 --functions 100 --branches 92 npx jest ./lib/.*.test.ts", "test-mocha": "nyc --check-coverage --lines 96 --functions 100 --branches 85 mocha --require ts-node/register --check-leaks --recursive --timeout 5000 ./lib/**/*.test.ts", "test": "npm run test-mocha && npm run test-jest" }, "bugs": { "url": "https://github.com/samdouble/mock-puppeteer-goto/issues" }, "homepage": "https://github.com/samdouble/mock-puppeteer-goto#readme", "keywords": [ "mocha", "jest", "puppeteer", "playwright", "goto", "mock", "stub" ], "dependencies": { "sinon": "^11.1.2" }, "devDependencies": { "@types/jest": "^29.5.7", "@types/mocha": "^10.0.3", "@types/node": "^20.8.10", "@typescript-eslint/eslint-plugin": "^6.9.1", "c8": "^7.8.0", "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "eslint": "^7.32.0", "eslint-config-airbnb": "^18.2.1", "eslint-plugin-import": "^2.24.2", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-react": "^7.24.0", "jest": "^29.7.0", "mocha": "^9.1.0", "npm-audit-pipeline": "^0.6.1", "nyc": "^15.1.0", "puppeteer": "^21.5.0", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "tsup": "^7.2.0", "typescript": "^5.2.2" }, "nyc": { "all": true } }