Add sinon package for mocking
This commit is contained in:
parent
43c1bea680
commit
b0af5695e6
191 changed files with 85298 additions and 0 deletions
124
node_modules/@sinonjs/fake-timers/package.json
generated
vendored
Normal file
124
node_modules/@sinonjs/fake-timers/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,124 @@
|
|||
{
|
||||
"_from": "@sinonjs/fake-timers@^6.0.1",
|
||||
"_id": "@sinonjs/fake-timers@6.0.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==",
|
||||
"_location": "/@sinonjs/fake-timers",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "@sinonjs/fake-timers@^6.0.1",
|
||||
"name": "@sinonjs/fake-timers",
|
||||
"escapedName": "@sinonjs%2ffake-timers",
|
||||
"scope": "@sinonjs",
|
||||
"rawSpec": "^6.0.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^6.0.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/nise",
|
||||
"/sinon"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz",
|
||||
"_shasum": "293674fccb3262ac782c7aadfdeca86b10c75c40",
|
||||
"_spec": "@sinonjs/fake-timers@^6.0.1",
|
||||
"_where": "/Users/sam/code/codeql-action/node_modules/sinon",
|
||||
"author": {
|
||||
"name": "Christian Johansen"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "http://github.com/sinonjs/fake-timers/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"@sinonjs/commons": "^1.7.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Fake JavaScript timers",
|
||||
"devDependencies": {
|
||||
"@sinonjs/referee-sinon": "6.0.1",
|
||||
"browserify": "16.5.0",
|
||||
"eslint": "6.8.0",
|
||||
"eslint-config-prettier": "6.10.0",
|
||||
"eslint-config-sinon": "3.0.1",
|
||||
"eslint-plugin-ie11": "1.0.0",
|
||||
"eslint-plugin-mocha": "6.2.2",
|
||||
"eslint-plugin-prettier": "3.1.1",
|
||||
"husky": "4.2.1",
|
||||
"jsdom": "15.1.1",
|
||||
"lint-staged": "10.0.7",
|
||||
"mocha": "7.0.1",
|
||||
"mochify": "6.6.0",
|
||||
"npm-run-all": "4.1.5",
|
||||
"nyc": "14.1.1",
|
||||
"prettier": "1.19.1"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "eslint-config-sinon",
|
||||
"plugins": [
|
||||
"ie11"
|
||||
],
|
||||
"rules": {
|
||||
"ie11/no-collection-args": [
|
||||
"error"
|
||||
],
|
||||
"ie11/no-for-in-const": [
|
||||
"error"
|
||||
],
|
||||
"ie11/no-loop-func": [
|
||||
"warn"
|
||||
],
|
||||
"ie11/no-weak-collections": [
|
||||
"error"
|
||||
]
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"src/",
|
||||
"fake-timers.js"
|
||||
],
|
||||
"homepage": "http://github.com/sinonjs/fake-timers",
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "run-p lint test-node"
|
||||
}
|
||||
},
|
||||
"license": "BSD-3-Clause",
|
||||
"lint-staged": {
|
||||
"*.js": "eslint"
|
||||
},
|
||||
"main": "./src/fake-timers-src.js",
|
||||
"module": "./fake-timers.js",
|
||||
"name": "@sinonjs/fake-timers",
|
||||
"nyc": {
|
||||
"branches": 85,
|
||||
"lines": 92,
|
||||
"functions": 92,
|
||||
"statements": 92,
|
||||
"exclude": [
|
||||
"**/*-test.js",
|
||||
"coverage/**",
|
||||
"fake-timers.js"
|
||||
]
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@github.com/sinonjs/fake-timers.git"
|
||||
},
|
||||
"scripts": {
|
||||
"bundle": "browserify --no-detect-globals -s FakeTimers -o fake-timers.js src/fake-timers-src.js",
|
||||
"lint": "eslint .",
|
||||
"postversion": "./scripts/postversion.sh",
|
||||
"prepublishOnly": "npm run bundle",
|
||||
"preversion": "./scripts/preversion.sh",
|
||||
"test": "npm run lint && npm run test-node && npm run test-headless",
|
||||
"test-check-coverage": "npm run test-coverage && nyc check-coverage",
|
||||
"test-cloud": "mochify --wd --no-detect-globals --timeout=10000",
|
||||
"test-coverage": "nyc --all --reporter text --reporter html --reporter lcovonly npm run test-node",
|
||||
"test-headless": "mochify --no-detect-globals --timeout=10000",
|
||||
"test-node": "mocha test/ integration-test/ -R dot --check-leaks",
|
||||
"version": "./scripts/version.sh"
|
||||
},
|
||||
"version": "6.0.1"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue