102 lines
2.6 KiB
Plaintext
102 lines
2.6 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
||
exports[`snippet: cursor-1.js format 1`] = `
|
||
====================================options=====================================
|
||
parsers: ["babel"]
|
||
printWidth: 80
|
||
| printWidth
|
||
=====================================input======================================
|
||
(function(){return <|>15})()
|
||
|
||
=====================================output=====================================
|
||
(function () {
|
||
return <|>15;
|
||
})();
|
||
|
||
================================================================================
|
||
`;
|
||
|
||
exports[`snippet: cursor-and-range.js format 1`] = `
|
||
====================================options=====================================
|
||
parsers: ["babel"]
|
||
printWidth: 80
|
||
| | printWidth
|
||
=====================================input======================================
|
||
1 |
|
||
2 |
|
||
> 3 | class a {
|
||
| ^^^^
|
||
> 4 | b( <|> ) {}
|
||
| ^^^^^^^^^^^^^^
|
||
5 | }
|
||
6 |
|
||
7 | let x
|
||
=====================================output=====================================
|
||
|
||
|
||
class a {
|
||
b(<|>) {}
|
||
}
|
||
|
||
let x
|
||
================================================================================
|
||
`;
|
||
|
||
exports[`snippet: range-1.js format 1`] = `
|
||
====================================options=====================================
|
||
parsers: ["babel"]
|
||
printWidth: 80
|
||
| | printWidth
|
||
=====================================input======================================
|
||
1 |
|
||
2 |
|
||
> 3 | class a {
|
||
| ^^^^
|
||
> 4 | b( ) {}
|
||
| ^^^^^^^^^^^
|
||
5 | }
|
||
6 |
|
||
7 | let x
|
||
8 |
|
||
=====================================output=====================================
|
||
|
||
|
||
class a {
|
||
b() {}
|
||
}
|
||
|
||
let x
|
||
|
||
================================================================================
|
||
`;
|
||
|
||
exports[`snippet: range-and-cursor-1.js format 1`] = `
|
||
====================================options=====================================
|
||
parsers: ["babel"]
|
||
printWidth: 80
|
||
| | printWidth
|
||
=====================================input======================================
|
||
1 |
|
||
2 |
|
||
3 |
|
||
> 4 | class a {
|
||
| ^^^^
|
||
> 5 | b( <|> ) {}
|
||
| ^^^^^^^^^^^^^^
|
||
6 | }
|
||
7 |
|
||
8 | let x
|
||
9 |
|
||
=====================================output=====================================
|
||
|
||
|
||
|
||
class a {
|
||
b(<|>) {}
|
||
}
|
||
|
||
let x
|
||
|
||
================================================================================
|
||
`;
|