2017-02-21 13:59:19 -08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
2022-01-28 15:25:30 +08:00
|
|
|
exports[`trailing.js [acorn] format 1`] = `
|
|
|
|
|
"Unexpected token (1:8)
|
2022-04-08 02:59:17 +02:00
|
|
|
> 1 | export type Result<T, V> = | { kind: "not-test-editor1" } | { kind: "not-test-editor2" };
|
2022-01-28 15:25:30 +08:00
|
|
|
| ^
|
|
|
|
|
2 |
|
|
|
|
|
3 | // Note: there are trailing whitespace in this file
|
|
|
|
|
4 | \`"
|
|
|
|
|
`;
|
|
|
|
|
|
2020-11-06 15:27:04 +08:00
|
|
|
exports[`trailing.js [espree] format 1`] = `
|
|
|
|
|
"Unexpected token type (1:8)
|
2022-04-08 02:59:17 +02:00
|
|
|
> 1 | export type Result<T, V> = | { kind: "not-test-editor1" } | { kind: "not-test-editor2" };
|
2020-11-06 15:27:04 +08:00
|
|
|
| ^
|
2021-02-04 09:42:00 +08:00
|
|
|
2 |
|
2020-11-06 15:27:04 +08:00
|
|
|
3 | // Note: there are trailing whitespace in this file
|
|
|
|
|
4 | \`"
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`trailing.js [meriyah] format 1`] = `
|
2022-02-16 08:24:53 +08:00
|
|
|
"Unexpected token: 'identifier' (1:11)
|
2022-04-08 02:59:17 +02:00
|
|
|
> 1 | export type Result<T, V> = | { kind: "not-test-editor1" } | { kind: "not-test-editor2" };
|
2020-11-06 15:27:04 +08:00
|
|
|
| ^
|
2021-02-04 09:42:00 +08:00
|
|
|
2 |
|
2020-11-06 15:27:04 +08:00
|
|
|
3 | // Note: there are trailing whitespace in this file
|
|
|
|
|
4 | \`"
|
|
|
|
|
`;
|
|
|
|
|
|
2020-04-10 19:12:01 +08:00
|
|
|
exports[`trailing.js format 1`] = `
|
2018-11-25 16:21:14 +08:00
|
|
|
====================================options=====================================
|
2020-05-12 19:21:47 +08:00
|
|
|
parsers: ["babel", "flow", "typescript"]
|
2018-11-25 16:21:14 +08:00
|
|
|
printWidth: 80
|
|
|
|
|
| printWidth
|
|
|
|
|
=====================================input======================================
|
2017-04-12 13:41:51 -07:00
|
|
|
export type Result<T, V> = | { kind: "not-test-editor1" } | { kind: "not-test-editor2" };
|
2017-01-18 12:38:33 -08:00
|
|
|
|
|
|
|
|
// Note: there are trailing whitespace in this file
|
|
|
|
|
\`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\` + \`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\`;
|
2018-11-25 16:21:14 +08:00
|
|
|
|
|
|
|
|
=====================================output=====================================
|
2017-01-18 12:38:33 -08:00
|
|
|
export type Result<T, V> =
|
2017-04-12 13:41:51 -07:00
|
|
|
| { kind: "not-test-editor1" }
|
|
|
|
|
| { kind: "not-test-editor2" };
|
2017-01-18 12:38:33 -08:00
|
|
|
|
|
|
|
|
// Note: there are trailing whitespace in this file
|
|
|
|
|
\`
|
|
|
|
|
|
|
|
|
|
|
2017-01-24 13:54:01 -05:00
|
|
|
\` +
|
|
|
|
|
\`
|
2017-01-18 12:38:33 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
\`;
|
2017-04-12 13:41:51 -07:00
|
|
|
|
2018-11-25 16:21:14 +08:00
|
|
|
================================================================================
|
2017-01-18 12:38:33 -08:00
|
|
|
`;
|