Commit ff491d8
committed
fix(build): "Cannot find name 'expect'"
ref #352
Before:
src/api/Buffer.test.ts:102:9 - error TS2304: Cannot find name 'expect'.
...
src/api/Buffer.test.ts:106:5 - error TS2593: Cannot find name 'it'.
Do you need to install type definitions for a test runner? Try `npm
i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and
then add 'jest' or 'mocha' to the types field in your tsconfig.
...
Found 616 errors in 8 files.
After:
Found 138 errors in 6 files.1 parent 93c478d commit ff491d8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments