Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: style updates for assert.snapshot()
This commit updates the assert.snapshot() fixtures to better
match the code style of the rest of the codebase.

PR-URL: #44429
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
  • Loading branch information
cjihrig committed Sep 1, 2022
commit 1fe4e5584045dbe82dda888bf06f23230f6c369e
2 changes: 1 addition & 1 deletion test/fixtures/assert-snapshot/basic.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import assert from 'node:assert';

await assert.snapshot("test", "name");
await assert.snapshot('test', 'name');
4 changes: 2 additions & 2 deletions test/fixtures/assert-snapshot/multiple.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import assert from 'node:assert';

await assert.snapshot("test", "name");
await assert.snapshot("test", "another name");
await assert.snapshot('test', 'name');
await assert.snapshot('test', 'another name');
4 changes: 2 additions & 2 deletions test/fixtures/assert-snapshot/non-existing-name.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import assert from 'node:assert';

await assert.snapshot("test", "another name");
await assert.snapshot("test", "non existing");
await assert.snapshot('test', 'another name');
await assert.snapshot('test', 'non existing');
2 changes: 1 addition & 1 deletion test/fixtures/assert-snapshot/single.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import assert from 'node:assert';

await assert.snapshot("test", "snapshot");
await assert.snapshot('test', 'snapshot');
2 changes: 1 addition & 1 deletion test/fixtures/assert-snapshot/value-changed.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import assert from 'node:assert';

await assert.snapshot("changed", "snapshot");
await assert.snapshot('changed', 'snapshot');