This repository was archived by the owner on Mar 21, 2025. It is now read-only.
Commit c1e2d73
committed
Attempt to use power-assert.
Throws the same error that it has thrown:
```
not ok 3 - "modeSwitchCapturesLogs" - test #3 in `lib/log.test.js`
---
message: assert._capt is not a function
stacktrace: TypeError: assert._capt is not a function
at [object Object].module.exports.modeSwitchCapturesLogs (lib/log.test.js:26:18)
at /Users/justin/code/testdouble/scripty/node_modules/teenytest/lib/user-function-async-wrapper-factory.js:10:22
at /Users/justin/code/testdouble/scripty/node_modules/teenytest/node_modules/async/lib/async.js:718:13
at Immediate.iterate [as _onImmediate] (/Users/justin/code/testdouble/scripty/node_modules/teenytest/node_modules/async/lib/async.js:262:13)
at processImmediate [as _immediateCallback] (timers.js:374:17)
...
```
My `npm version`:
```
{ scripty: '1.2.2',
npm: '2.14.4',
ares: '1.10.1-DEV',
http_parser: '2.5.0',
modules: '46',
node: '4.1.1',
openssl: '1.0.2d',
uv: '1.7.4',
v8: '4.5.103.33',
zlib: '1.2.8' }
```1 parent 3181d53 commit c1e2d73
3 files changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | | - | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
4 | | - | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
0 commit comments