File: test.js.md

package info (click to toggle)
node-rollup-plugin-inject 4.0.2%2B~3.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,552 kB
  • sloc: javascript: 10,197; makefile: 5
file content (41 lines) | stat: -rw-r--r-- 919 bytes parent folder | download | duplicates (6)
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
33
34
35
36
37
38
39
40
41
# Snapshot report for `test/test.js`

The actual snapshot is saved in `test.js.snap`.

Generated by [AVA](https://ava.li).

## handles package side-effects

> Snapshot 1

    [
      'array-dep1',
      'array-dep3',
      'array-dep5',
      'array-index',
      'false-dep1',
      'true-dep1',
      'true-dep2',
      'true-index',
    ]

## ignores deep-import non-modules

> Snapshot 1

    [
      {
        code: 'UNRESOLVED_IMPORT',
        importer: 'deep-import-non-module.js',
        message: '\'foo/deep\' is imported by deep-import-non-module.js, but could not be resolved – treating it as an external dependency',
        source: 'foo/deep',
        toString: Function {},
        url: 'https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency',
      },
    ]

## throws error if local id is not resolved

> Snapshot 1

    'Could not resolve \'./foo\' from unresolved-local.js'