Add tests for indexed access via Babel (#10812)
* Add tests for optional indexed access via Babel * Add tests for indexed access via Babel
This commit is contained in:
1 parent
e29457c952
commit
3a1512f043
4 files changed
+4
-4
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
exports[`indexed-access.js - {"trailingComma":"all"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["flow"]
|
||||
parsers: ["flow", "babel"]
|
||||
printWidth: 80
|
||||
trailingComma: "all"
|
||||
| printWidth
|
||||
|
||||
@@ -1 +1 @@
|
||||
run_spec(__dirname, ["flow"], { trailingComma: "all" });
|
||||
run_spec(__dirname, ["flow", "babel"], { trailingComma: "all" });
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
exports[`optional-indexed-access.js - {"trailingComma":"all"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["flow"]
|
||||
parsers: ["flow", "babel"]
|
||||
printWidth: 80
|
||||
trailingComma: "all"
|
||||
| printWidth
|
||||
|
||||
@@ -1 +1 @@
|
||||
run_spec(__dirname, ["flow"], { trailingComma: "all" });
|
||||
run_spec(__dirname, ["flow", "babel"], { trailingComma: "all" });
|
||||
Reference in new issue
Block a user