Skip to content

Commit

Permalink
Regenerate lockfile (#11458)
Browse files Browse the repository at this point in the history
* Regenerate yarn.lock

* Fix  tests

* Add yarn.lock to workflow paths
  • Loading branch information
sosukesuzuki committed Sep 7, 2021
1 parent 104c9fd commit 2bbe331
Show file tree
Hide file tree
Showing 8 changed files with 352 additions and 716 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dev-package-test.yml
Expand Up @@ -7,6 +7,7 @@ on:
paths:
- "package.json"
- ".github/workflows/dev-package-test.yml"
- "yarn.lock"

jobs:
test:
Expand Down
11 changes: 0 additions & 11 deletions tests/format/js/babel-plugins/__snapshots__/jsfmt.spec.js.snap
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion tests/format/js/babel-plugins/jsfmt.spec.js
Expand Up @@ -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",
],
Expand Down
Expand Up @@ -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"]
Expand Down
4 changes: 1 addition & 3 deletions tests/format/js/binary-expressions/jsfmt.spec.js
@@ -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;
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion tests/format/js/class-static-block/jsfmt.spec.js
@@ -1 +1 @@
run_spec(__dirname, ["babel"], { errors: { espree: true, meriyah: true } });
run_spec(__dirname, ["babel"], { errors: { meriyah: true } });
1,020 changes: 349 additions & 671 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 2bbe331

Please sign in to comment.