Skip to content

Commit

Permalink
test: fix snapshot (vitest versus jest)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpatiny committed Mar 4, 2024
1 parent 5cac645 commit 759cefb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"devDependencies": {
"@types/jest": "^29.5.12",
"cheminfo-build": "^1.2.0",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-cheminfo-typescript": "^12.2.0",
"esm": "^3.2.25",
"jest": "^29.7.0",
Expand All @@ -101,7 +101,7 @@
"rimraf": "^5.0.5",
"spectrum-generator": "^8.0.9",
"ts-jest": "^29.1.2",
"typedoc": "^0.25.8",
"typedoc": "^0.25.10",
"typescript": "^5.3.3"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,6 @@ exports[`test existence of exported functions 1`] = `
"getRescaler",
"isPowerOfTwo",
"nextPowerOfTwo",
"stringify",
]
`;
10 changes: 5 additions & 5 deletions src/utils/__tests__/__snapshots__/stringify.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`stringify 1`] = `
"{
\\"a\\": [
"a": [
1,
2,
3
],
\\"b\\": [
"b": [
4,
5,
6
],
\\"c\\": [
"c": [
1,
2,
3
],
\\"d\\": \\"Hello\\"
"d": "Hello"
}"
`;

0 comments on commit 759cefb

Please sign in to comment.