Replace package sinon and sinon-chai with ts-sinon and @types/sinon-chai

This commit is contained in:
Amaury 2021-02-13 13:39:07 +01:00
parent 7f0a0785e6
commit a2281b3602
2 changed files with 39 additions and 8 deletions

43
package-lock.json generated
View File

@ -160,6 +160,31 @@
"integrity": "sha512-EPpXLOVqDvisVxtlbvzfyqSsFeQxltFbluZNRndIb8tr9KiBnYNLzrc1N3pyKUCww2RNrfHDViqDWWE1LCJQtQ==",
"dev": true
},
"@types/sinon": {
"version": "9.0.10",
"resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-9.0.10.tgz",
"integrity": "sha512-/faDC0erR06wMdybwI/uR8wEKV/E83T0k4sepIpB7gXuy2gzx2xiOjmztq6a2Y6rIGJ04D+6UU0VBmWy+4HEMA==",
"dev": true,
"requires": {
"@types/sinonjs__fake-timers": "*"
}
},
"@types/sinon-chai": {
"version": "3.2.5",
"resolved": "https://registry.npmjs.org/@types/sinon-chai/-/sinon-chai-3.2.5.tgz",
"integrity": "sha512-bKQqIpew7mmIGNRlxW6Zli/QVyc3zikpGzCa797B/tRnD9OtHvZ/ts8sYXV+Ilj9u3QRaUEM8xrjgd1gwm1BpQ==",
"dev": true,
"requires": {
"@types/chai": "*",
"@types/sinon": "*"
}
},
"@types/sinonjs__fake-timers": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-6.0.2.tgz",
"integrity": "sha512-dIPoZ3g5gcx9zZEszaxLSVTvMReD3xxyyDnQUjA6IYDG9Ba2AV0otMPs+77sG9ojB4Qr2N2Vk5RnKeuA0X/0bg==",
"dev": true
},
"@typescript-eslint/eslint-plugin": {
"version": "4.14.2",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.14.2.tgz",
@ -2266,12 +2291,6 @@
}
}
},
"sinon-chai": {
"version": "3.5.0",
"resolved": "https://registry.npmjs.org/sinon-chai/-/sinon-chai-3.5.0.tgz",
"integrity": "sha512-IifbusYiQBpUxxFJkR3wTU68xzBN0+bxCScEaKMjBvAQERg6FnTTc1F17rseLb1tjmkJ23730AXpFI0c47FgAg==",
"dev": true
},
"slash": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
@ -2521,6 +2540,18 @@
"yn": "3.1.1"
}
},
"ts-sinon": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/ts-sinon/-/ts-sinon-2.0.1.tgz",
"integrity": "sha512-uI5huDCY6Gw6Yczmyd/Jcu8gZZYtWO0HakPShvDmlrgcywLyFZ7lgWt1y+gd/x79ReHh+rhMAJkhQkGRnPNikw==",
"dev": true,
"requires": {
"@types/node": "^14.6.1",
"@types/sinon": "^9.0.5",
"@types/sinon-chai": "^3.2.4",
"sinon": "^9.0.3"
}
},
"tsc-watch": {
"version": "4.2.9",
"resolved": "https://registry.npmjs.org/tsc-watch/-/tsc-watch-4.2.9.tgz",

View File

@ -35,8 +35,8 @@
"mocha": "8.2.1",
"prettier": "2.2.1",
"proxyquire": "2.1.3",
"sinon": "9.2.4",
"sinon-chai": "3.5.0",
"ts-sinon": "2.0.1",
"@types/sinon-chai": "3.2.5",
"ts-node": "9.1.1",
"tsc-watch": "^4.2.9",
"typescript": "^4.1.3"