Skip to content

Latest commit

History

History
128 lines (81 loc) 路 3.57 KB

test.mjs.md

File metadata and controls

128 lines (81 loc) 路 3.57 KB

Snapshot report for test/test.mjs

The actual snapshot is saved in test.mjs.snap.

Generated by AVA.

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.',
}