Make your tests cough up. Chai plugin that triggers a REPL when an assertion fails that allows you to interrogate and manipulate variables, in the scope of the failing test.
Debug data
{
"downloads": {
"monthly": 10,
"weekly": 2
},
"dependents": 0,
"updated": "2025-04-02T02:47:53.858Z",
"searchScore": 10.911514,
"package": {
"name": "expectorant",
"keywords": [
"expectorant",
"chai",
"chai-plugin",
"repl"
],
"version": "0.0.1",
"description": "Make your tests cough up. Chai plugin that triggers a REPL when an assertion fails that allows you to interrogate and manipulate variables, in the scope of the failing test.",
"sanitized_name": "expectorant",
"publisher": {
"email": "scott@donnel.ly",
"username": "sc0ttyd"
},
"maintainers": [
{
"email": "scott@donnel.ly",
"username": "sc0ttyd"
}
],
"license": "MIT",
"date": "2016-07-01T21:29:31.005Z",
"links": {
"homepage": "https://github.com/sc0ttyd/expectorant#readme",
"repository": "git+https://github.com/sc0ttyd/expectorant.git",
"bugs": "https://github.com/sc0ttyd/expectorant/issues",
"npm": "https://www.npmjs.com/package/expectorant"
}
},
"score": {
"final": 10.911514,
"detail": {
"popularity": 1,
"quality": 1,
"maintenance": 1
}
},
"flags": {
"insecure": 0
}
}