Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d7e3214
commit 30099fa
Showing
3 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`interfaces.js format 1`] = ` | ||
====================================options===================================== | ||
parsers: ["babel"] | ||
printWidth: 80 | ||
| printWidth | ||
=====================================input====================================== | ||
interface = "foo"; | ||
interface + 3; | ||
interface(); | ||
class interface {} | ||
interface ? true : false; | ||
function interface() {} | ||
import interface from "foo"; | ||
foo.interface; | ||
interface.foo; | ||
new interface(); | ||
({ interface: "foo" }); | ||
(interface, "foo"); | ||
void interface; | ||
const interface = "foo"; | ||
=====================================output===================================== | ||
interface = "foo"; | ||
interface + 3; | ||
interface(); | ||
class interface {} | ||
interface ? true : false; | ||
function interface() {} | ||
import interface from "foo"; | ||
foo.interface; | ||
interface.foo; | ||
new interface(); | ||
({ interface: "foo" }); | ||
interface, "foo"; | ||
void interface; | ||
const interface = "foo"; | ||
================================================================================ | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
interface = "foo"; | ||
interface + 3; | ||
interface(); | ||
class interface {} | ||
interface ? true : false; | ||
function interface() {} | ||
import interface from "foo"; | ||
foo.interface; | ||
interface.foo; | ||
new interface(); | ||
({ interface: "foo" }); | ||
(interface, "foo"); | ||
void interface; | ||
const interface = "foo"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
run_spec(__dirname, ["babel"], { errors: { espree: true, meriyah: true } }); |