1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
# Snapshot report for `test/tslib.ts`
The actual snapshot is saved in `tslib.ts.snap`.
Generated by [AVA](https://avajs.dev).
## fails on bad tslib path
> Snapshot 1
Error {
code: 'ENOENT',
errno: -2,
path: 'fixtures/joker/tslib.js',
syscall: 'open',
watchFiles: [
'packages/typescript/test/fixtures/overriding-tslib/main.ts',
'fixtures/joker/tslib.js',
],
message: 'Could not load fixtures/joker/tslib.js (imported by fixtures/overriding-tslib/main.ts): ENOENT: no such file or directory, open \'fixtures/joker/tslib.js\'',
}
## fails without tslib installed
> Snapshot 1
RollupError (Error) {
code: 'PLUGIN_ERROR',
hook: 'buildStart',
plugin: 'typescript',
message: '@rollup/plugin-typescript: Could not find module \'tslib\', which is required by this plugin. Is it installed?',
}
|