Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate lockfile #11458

Merged
merged 3 commits into from Sep 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.