The actual snapshot is saved in test.mjs.snap
.
Generated by AVA.
Snapshot 1
'Could not resolve "./foo" from "unresolved-local.js"'
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 {},
},
]
Snapshot 1
[
{
code: 'UNRESOLVED_IMPORT',
exporter: 'foo/deep',
id: '/Users/lukastaegert/Github/rollup-plugins/packages/node-resolve/test/fixtures/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.',
toString: Function {},
url: 'https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency',
},
]
Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.preserveSymlinks` is no longer an option. We now always use the rollup `preserveSymlinks` option.',
}
Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.basedir` is no longer an option. If you need this, please open an issue.',
}
Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.package` is no longer an option. If you need this, please open an issue.',
}
Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.extensions` is no longer an option. If you need this, please open an issue.',
}
Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.includeCoreModules` is no longer an option. If you need this, please open an issue.',
}
Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.readFile` is no longer an option. If you need this, please open an issue.',
}
Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.isFile` is no longer an option. If you need this, please open an issue.',
}
Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.isDirectory` is no longer an option. If you need this, please open an issue.',
}
Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.realpath` is no longer an option. If you need this, please open an issue.',
}
Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.packageFilter` is no longer an option. If you need this, please open an issue.',
}
Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.pathFilter` is no longer an option. If you need this, please open an issue.',
}
Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.paths` is no longer an option. If you need this, please open an issue.',
}
Snapshot 1
Error {
message: 'node-resolve: `customResolveOptions.packageIterator` is no longer an option. If you need this, please open an issue.',
}