Skip to content

Latest commit

 

History

History
133 lines (91 loc) · 3.6 KB

protocol-ava-3.2.js.md

File metadata and controls

133 lines (91 loc) · 3.6 KB

Snapshot report for test/protocol-ava-3.2.js

The actual snapshot is saved in protocol-ava-3.2.js.snap.

Generated by AVA.

main() config validation: throw when config is not a plain object

Snapshot 1

Error {
  message: 'Unexpected Typescript configuration for AVA. See https://github.com/avajs/typescript/blob/v${pkg.version}/README.md',
}

Snapshot 2

Error {
  message: 'Unexpected Typescript configuration for AVA. See https://github.com/avajs/typescript/blob/v${pkg.version}/README.md',
}

Snapshot 3

Error {
  message: 'Unexpected Typescript configuration for AVA. See https://github.com/avajs/typescript/blob/v${pkg.version}/README.md',
}

Snapshot 4

Error {
  message: 'Unexpected Typescript configuration for AVA. See https://github.com/avajs/typescript/blob/v${pkg.version}/README.md',
}

main() config validation: throw when config contains keys other than 'extensions', 'rewritePaths' or 'compile'

Snapshot 1

Error {
  message: 'Unexpected \'foo\' property in TypeScript configuration for AVA. See https://github.com/avajs/typescript/blob/v${pkg.version}/README.md',
}

main() config validation: throw when config.extensions contains empty strings

Snapshot 1

Error {
  message: 'Missing \'compile\' property in TypeScript configuration for AVA. See https://github.com/avajs/typescript/blob/v${pkg.version}/README.md',
}

main() config validation: throw when config.extensions contains non-strings

Snapshot 1

Error {
  message: 'Missing \'compile\' property in TypeScript configuration for AVA. See https://github.com/avajs/typescript/blob/v${pkg.version}/README.md',
}

main() config validation: throw when config.extensions contains duplicates

Snapshot 1

Error {
  message: 'Missing \'compile\' property in TypeScript configuration for AVA. See https://github.com/avajs/typescript/blob/v${pkg.version}/README.md',
}

main() config validation: config may not be an empty object

Snapshot 1

Error {
  message: 'Missing \'compile\' property in TypeScript configuration for AVA. See https://github.com/avajs/typescript/blob/v${pkg.version}/README.md',
}

main() config validation: throw when config.compile is invalid

Snapshot 1

Error {
  message: 'Invalid \'compile\' property in TypeScript configuration for AVA. See https://github.com/avajs/typescript/blob/v${pkg.version}/README.md',
}

Snapshot 2

Error {
  message: 'Invalid \'compile\' property in TypeScript configuration for AVA. See https://github.com/avajs/typescript/blob/v${pkg.version}/README.md',
}

main() config validation: rewrite paths must end in a /

Snapshot 1

Error {
  message: 'Missing \'compile\' property in TypeScript configuration for AVA. See https://github.com/avajs/typescript/blob/v${pkg.version}/README.md',
}

Snapshot 2

Error {
  message: 'Missing \'compile\' property in TypeScript configuration for AVA. See https://github.com/avajs/typescript/blob/v${pkg.version}/README.md',
}

main() updateGlobs() without compilation

Snapshot 1

{
  filePatterns: [
    'src/test.ts',
    '!**/*.d.ts',
    '!build/**',
  ],
  ignoredByWatcherPatterns: [
    'assets/**',
    'build/**/*.js.map',
    'src/**',
  ],
}

main() updateGlobs() with compilation

Snapshot 1

{
  filePatterns: [
    'src/test.ts',
    '!**/*.d.ts',
    '!build/**',
  ],
  ignoredByWatcherPatterns: [
    'assets/**',
    'build/**/*.js.map',
    'build/**',
  ],
}