Regenerate lockfile (#11458)

* Regenerate yarn.lock

* Fix  tests

* Add yarn.lock to workflow paths
This commit is contained in:
Sosuke Suzuki authored and GitHub committed 2021-09-07 13:10:54 +09:00
1 parent 104c9fd58b
commit 2bbe331f64
8 files changed
+352 -716

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ on:
paths:
- "package.json"
- ".github/workflows/dev-package-test.yml"
- "yarn.lock"
jobs:
test:
@@ -386,17 +386,6 @@ console.log(Bork.staticFunction()); // > "babelIsCool"
================================================================================
`;
exports[`class-static-block.js [espree] format 1`] = `
"Unexpected token { (4:10)
2 | static #x = 42;
3 | static y;
> 4 | static {
| ^
5 | try {
6 | this.y = doSomethingWith(this.#x);
7 | } catch {"
`;
exports[`class-static-block.js [meriyah] format 1`] = `
"[4:10]: Unexpected token: '{' (4:10)
2 | static #x = 42;
@@ -24,7 +24,6 @@ run_spec(__dirname, ["babel", "babel-ts", "babel-flow"], {
"typescript.js",
"v8intrinsic.js",
"module-string-names.js",
"class-static-block.js",
"module-blocks.js",
"async-do-expressions.js",
],
@@ -740,13 +740,6 @@ printWidth: 80
================================================================================
`;
exports[`like-regexp.js [espree] format 1`] = `
"Unterminated regular expression (1:19)
> 1 | 0 ? a : { b : 1 }/2;
| ^
2 |"
`;
exports[`like-regexp.js format 1`] = `
====================================options=====================================
parsers: ["babel", "flow", "typescript"]
@@ -1,3 +1 @@
run_spec(__dirname, ["babel", "flow", "typescript"], {
errors: { espree: ["like-regexp.js"] },
});
run_spec(__dirname, ["babel", "flow", "typescript"]);
@@ -1,16 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`class-static-block.js [espree] format 1`] = `
"Unexpected token { (4:10)
2 | static #x = 42;
3 | static y;
> 4 | static {
| ^
5 | try {
6 | this.y = doSomethingWith(this.#x);
7 | } catch {"
`;
exports[`class-static-block.js [meriyah] format 1`] = `
"[4:10]: Unexpected token: '{' (4:10)
2 | static #x = 42;
@@ -90,17 +79,6 @@ class A2 {
================================================================================
`;
exports[`with-line-breaks.js [espree] format 1`] = `
"Unexpected token { (3:3)
1 | class Foo {
2 | static
> 3 | {
| ^
4 | 1 + 1;
5 | }
6 | };"
`;
exports[`with-line-breaks.js [meriyah] format 1`] = `
"[3:3]: Unexpected token: '{' (3:3)
1 | class Foo {
@@ -1 +1 @@
run_spec(__dirname, ["babel"], { errors: { espree: true, meriyah: true } });
run_spec(__dirname, ["babel"], { errors: { meriyah: true } });
+349 -671
View File
File diff suppressed because it is too large. Load diff