Skip to content

Latest commit

 

History

History
446 lines (309 loc) · 4.76 KB

no-empty-file.mjs.md

File metadata and controls

446 lines (309 loc) · 4.76 KB

Snapshot report for test/no-empty-file.mjs

The actual snapshot is saved in no-empty-file.mjs.snap.

Generated by AVA.

Invalid #1

  1 |

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 |␊
    | ^ Empty files are not allowed.␊
`

Invalid #2

  1 | 

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | ␊
    | ^ Empty files are not allowed.␊
`

Invalid #3

  1 |  

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 |  ␊
    | ^ Empty files are not allowed.␊
`

Invalid #4

  1 | 	

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | 	␊
    | ^ Empty files are not allowed.␊
`

Invalid #5

  1 |
  2 |

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 |␊
    | ^␊
> 2 |␊
    | ^ Empty files are not allowed.␊
`

Invalid #6

  1 |
  2 |

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 |␊
    | ^␊
> 2 |␊
    | ^ Empty files are not allowed.␊
`

Invalid #7

  1 |
  2 |

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 |␊
    | ^␊
> 2 |␊
    | ^ Empty files are not allowed.␊
`

Invalid #8

  1 |

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 |␊
    | ^ Empty files are not allowed.␊
`

Invalid #9

  1 | // comment

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | // comment␊
    | ^^^^^^^^^^ Empty files are not allowed.␊
`

Invalid #10

  1 | /* comment */

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | /* comment */␊
    | ^^^^^^^^^^^^^ Empty files are not allowed.␊
`

Invalid #11

  1 | #!/usr/bin/env node

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | #!/usr/bin/env node␊
    | ^^^^^^^^^^^^^^^^^^^ Empty files are not allowed.␊
`

Invalid #12

  1 | 'use asm';

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | 'use asm';␊
    | ^^^^^^^^^^ Empty files are not allowed.␊
`

Invalid #13

  1 | 'use strict';

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | 'use strict';␊
    | ^^^^^^^^^^^^^ Empty files are not allowed.␊
`

Invalid #14

  1 | "use strict"

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | "use strict"␊
    | ^^^^^^^^^^^^ Empty files are not allowed.␊
`

Invalid #15

  1 | ""

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | ""␊
    | ^^ Empty files are not allowed.␊
`

Invalid #16

  1 | ;

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | ;␊
    | ^ Empty files are not allowed.␊
`

Invalid #17

  1 | ;;

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | ;;␊
    | ^^ Empty files are not allowed.␊
`

Invalid #18

  1 | {}

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | {}␊
    | ^^ Empty files are not allowed.␊
`

Invalid #19

  1 | {;;}

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | {;;}␊
    | ^^^^ Empty files are not allowed.␊
`

Invalid #20

  1 | {{}}

Filename

`␊
example.js␊
`

Error 1/1

`␊
> 1 | {{}}␊
    | ^^^^ Empty files are not allowed.␊
`

Invalid #21

  1 | {}

Filename

`␊
example.mjs␊
`

Error 1/1

`␊
> 1 | {}␊
    | ^^ Empty files are not allowed.␊
`

Invalid #22

  1 | {}

Filename

`␊
example.cJs␊
`

Error 1/1

`␊
> 1 | {}␊
    | ^^ Empty files are not allowed.␊
`

Invalid #23

  1 | {}

Filename

`␊
example.ts␊
`

Error 1/1

`␊
> 1 | {}␊
    | ^^ Empty files are not allowed.␊
`

Invalid #24

  1 | {}

Filename

`␊
example.tsx␊
`

Error 1/1

`␊
> 1 | {}␊
    | ^^ Empty files are not allowed.␊
`

Invalid #25

  1 | {}

Filename

`␊
example.jsx␊
`

Error 1/1

`␊
> 1 | {}␊
    | ^^ Empty files are not allowed.␊
`

Invalid #26

  1 | {}

Filename

`␊
example.MTS␊
`

Error 1/1

`␊
> 1 | {}␊
    | ^^ Empty files are not allowed.␊
`

Invalid #27

  1 | {}

Filename

`␊
example.cts␊
`

Error 1/1

`␊
> 1 | {}␊
    | ^^ Empty files are not allowed.␊
`