Skip to content

Commit

Permalink
Merge pull request #1609 from danskernesdigitalebibliotek/DDFBRA-298-…
Browse files Browse the repository at this point in the history
…opgrader-vite-react-komponenter

Bump vitest
  • Loading branch information
Adamik10 authored Dec 27, 2024
2 parents 41b6cef + e4d7e93 commit 194f56b
Show file tree
Hide file tree
Showing 7 changed files with 467 additions and 369 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"svg-url-loader": "^8.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.0",
"vitest": "0.28.5",
"vitest": "2.0.0",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4",
"webpack-version-file-plugin": "^0.4.0"
Expand Down
2 changes: 1 addition & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = (ctx) => {
const production = ctx.env === "production";
return {
parser: "postcss-scss",
map: ctx.options.map,
map: ctx?.options?.map,
plugins: [
postcssSass({
// We always want to inject all of our variables and mixins.
Expand Down
2 changes: 1 addition & 1 deletion src/apps/material/__snapshots__/helper.ts.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`divideManifestationsByMaterialType > should divide manifestations by material type 1`] = `
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/facet-browser/__snapshots__/helper.ts.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`createFacetsMap 1`] = `
{
Expand Down
2 changes: 1 addition & 1 deletion src/tests/unit/__snapshots__/contact-info.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`ContactInfoInputs > Should NOT wrap the input fields if it is NOT inline 1`] = `
<div
Expand Down
2 changes: 1 addition & 1 deletion src/tests/unit/__snapshots__/info-labels.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`InfoLabel > Should show the markup for the simple info label 1`] = `
<div
Expand Down
824 changes: 461 additions & 363 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 194f56b

Please sign in to comment.