File: tslib.ts.md

package info (click to toggle)
node-rollup-plugin-typescript 11.1.5~ds%2B~1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,332 kB
  • sloc: javascript: 1,840; makefile: 21
file content (32 lines) | stat: -rw-r--r-- 890 bytes parent folder | download | duplicates (2)
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?',
    }