The actual snapshot is saved in no-empty-file.mjs.snap
.
Generated by AVA.
1 |
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 |␊
| ^ Empty files are not allowed.␊
`
1 |
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | ␊
| ^ Empty files are not allowed.␊
`
1 |
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | ␊
| ^ Empty files are not allowed.␊
`
1 |
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | ␊
| ^ Empty files are not allowed.␊
`
1 |
2 |
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 |␊
| ^␊
> 2 |␊
| ^ Empty files are not allowed.␊
`
1 |
2 |
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 |␊
| ^␊
> 2 |␊
| ^ Empty files are not allowed.␊
`
1 |
2 |
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 |␊
| ^␊
> 2 |␊
| ^ Empty files are not allowed.␊
`
1 |
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 |␊
| ^ Empty files are not allowed.␊
`
1 | // comment
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | // comment␊
| ^^^^^^^^^^ Empty files are not allowed.␊
`
1 | /* comment */
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | /* comment */␊
| ^^^^^^^^^^^^^ Empty files are not allowed.␊
`
1 | #!/usr/bin/env node
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | #!/usr/bin/env node␊
| ^^^^^^^^^^^^^^^^^^^ Empty files are not allowed.␊
`
1 | 'use asm';
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | 'use asm';␊
| ^^^^^^^^^^ Empty files are not allowed.␊
`
1 | 'use strict';
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | 'use strict';␊
| ^^^^^^^^^^^^^ Empty files are not allowed.␊
`
1 | "use strict"
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | "use strict"␊
| ^^^^^^^^^^^^ Empty files are not allowed.␊
`
1 | ""
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | ""␊
| ^^ Empty files are not allowed.␊
`
1 | ;
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | ;␊
| ^ Empty files are not allowed.␊
`
1 | ;;
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | ;;␊
| ^^ Empty files are not allowed.␊
`
1 | {}
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | {}␊
| ^^ Empty files are not allowed.␊
`
1 | {;;}
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | {;;}␊
| ^^^^ Empty files are not allowed.␊
`
1 | {{}}
Filename
`␊
example.js␊
`
Error 1/1
`␊
> 1 | {{}}␊
| ^^^^ Empty files are not allowed.␊
`
1 | {}
Filename
`␊
example.mjs␊
`
Error 1/1
`␊
> 1 | {}␊
| ^^ Empty files are not allowed.␊
`
1 | {}
Filename
`␊
example.cJs␊
`
Error 1/1
`␊
> 1 | {}␊
| ^^ Empty files are not allowed.␊
`
1 | {}
Filename
`␊
example.ts␊
`
Error 1/1
`␊
> 1 | {}␊
| ^^ Empty files are not allowed.␊
`
1 | {}
Filename
`␊
example.tsx␊
`
Error 1/1
`␊
> 1 | {}␊
| ^^ Empty files are not allowed.␊
`
1 | {}
Filename
`␊
example.jsx␊
`
Error 1/1
`␊
> 1 | {}␊
| ^^ Empty files are not allowed.␊
`
1 | {}
Filename
`␊
example.MTS␊
`
Error 1/1
`␊
> 1 | {}␊
| ^^ Empty files are not allowed.␊
`
1 | {}
Filename
`␊
example.cts␊
`
Error 1/1
`␊
> 1 | {}␊
| ^^ Empty files are not allowed.␊
`