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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
|
# Snapshot report for `test/test.mjs`
The actual snapshot is saved in `test.mjs.snap`.
Generated by [AVA](https://avajs.dev).
## throws error if local id is not resolved
> Snapshot 1
'Could not resolve "./foo" from "unresolved-local.js"'
## allows custom moduleDirectories with legacy customResolveOptions.moduleDirectory
> Snapshot 1
[
{
code: 'PLUGIN_WARNING',
message: 'node-resolve: The `customResolveOptions.moduleDirectory` option has been deprecated. Use `moduleDirectories`, which must be an array.',
plugin: 'node-resolve',
toString: Function {},
},
]
## throws error for removed customResolveOptions.preserveSymlinks option
> Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.preserveSymlinks` is no longer an option. We now always use the rollup `preserveSymlinks` option.',
}
## throws error for removed customResolveOptions.basedir option
> Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.basedir` is no longer an option. If you need this, please open an issue.',
}
## throws error for removed customResolveOptions.package option
> Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.package` is no longer an option. If you need this, please open an issue.',
}
## throws error for removed customResolveOptions.extensions option
> Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.extensions` is no longer an option. If you need this, please open an issue.',
}
## throws error for removed customResolveOptions.includeCoreModules option
> Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.includeCoreModules` is no longer an option. If you need this, please open an issue.',
}
## throws error for removed customResolveOptions.readFile option
> Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.readFile` is no longer an option. If you need this, please open an issue.',
}
## throws error for removed customResolveOptions.isFile option
> Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.isFile` is no longer an option. If you need this, please open an issue.',
}
## throws error for removed customResolveOptions.isDirectory option
> Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.isDirectory` is no longer an option. If you need this, please open an issue.',
}
## throws error for removed customResolveOptions.realpath option
> Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.realpath` is no longer an option. If you need this, please open an issue.',
}
## throws error for removed customResolveOptions.packageFilter option
> Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.packageFilter` is no longer an option. If you need this, please open an issue.',
}
## throws error for removed customResolveOptions.pathFilter option
> Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.pathFilter` is no longer an option. If you need this, please open an issue.',
}
## throws error for removed customResolveOptions.paths option
> Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.paths` is no longer an option. If you need this, please open an issue.',
}
## throws error for removed customResolveOptions.packageIterator option
> Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.packageIterator` is no longer an option. If you need this, please open an issue.',
}
|