Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser committed Dec 30, 2022
1 parent 21163ca commit 67cb45b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ The npm module npm/rome contains Rome's Node JS API that supports different back
For testing and developing, you need to build these packages, following the steps:
1. install [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/) globally;
2. run the `build` command inside the package `backend-jsonrpc`;
3. run the `build:wasm-node-dev` command inside the package `js-api` (folder `npm/js-api`);
3. run the `build` and `build:wasm-node-dev` commands inside the package `js-api` (folder `npm/js-api`);
4. run `pnpm i` inside the package `js-api` (folder `npm/js-api`), this will link the WebAssembly bindings and the
JSON-RPC bindings;

Expand Down
4 changes: 2 additions & 2 deletions npm/js-api/tests/__snapshots__/formatContent.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exports[`Rome WebAssembly formatContent > should not format and have diagnostics
},
},
},
"source_code": null,
"source_code": undefined,
"span": [
11,
12,
Expand All @@ -30,7 +30,7 @@ exports[`Rome WebAssembly formatContent > should not format and have diagnostics
},
],
"severity": "Error",
"source": null,
"source": undefined,
"tags": [],
"verbose_advices": {
"advices": [],
Expand Down
8 changes: 4 additions & 4 deletions npm/js-api/tests/__snapshots__/lintContent.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ exports[`Rome WebAssembly lintContent > should lint content > lint diagnostics 1
},
{
"Frame": {
"path": null,
"source_code": null,
"path": undefined,
"source_code": undefined,
"span": [
6,
8,
Expand Down Expand Up @@ -124,7 +124,7 @@ exports[`Rome WebAssembly lintContent > should lint content > lint diagnostics 1
"Path": "example.js",
},
},
"source_code": null,
"source_code": undefined,
"span": [
6,
8,
Expand Down Expand Up @@ -153,7 +153,7 @@ exports[`Rome WebAssembly lintContent > should lint content > lint diagnostics 1
},
],
"severity": "Error",
"source": null,
"source": undefined,
"tags": [
"Fixable",
],
Expand Down

0 comments on commit 67cb45b

Please sign in to comment.