Skip to content

Commit

Permalink
chore: update vitest
Browse files Browse the repository at this point in the history
### What does this PR do?

Update vitest

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

### What issues does this PR fix or reference?

<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->

Closes #1107

### How to test this PR?

<!-- Please explain steps to reproduce -->

PRs passing

Signed-off-by: Charlie Drage <[email protected]>
  • Loading branch information
cdrage committed Dec 19, 2024
1 parent bc9a3ea commit 45dfb40
Show file tree
Hide file tree
Showing 6 changed files with 159 additions and 425 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"prettier-plugin-svelte": "^3.3.2",
"typescript": "5.7.2",
"vite": "^6.0.3",
"vitest": "^2.0.2"
"vitest": "3.0.0-beta.2"
},
"dependencies": {
"@xterm/addon-attach": "^0.11.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"prettier": "^3.4.2",
"typescript": "5.7.2",
"vite": "^6.0.3",
"vitest": "^2.0.2"
"vitest": "3.0.0-beta.2"
},
"dependencies": {
"semver": "^7.6.3"
Expand Down
3 changes: 3 additions & 0 deletions packages/backend/src/machine-utils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ test('Fail prereq if not Podman v5 (macos/windows)', async () => {
);
});

// eslint-disable-next-line etc/no-commented-out-code
/*
test('Fail prereq if not rootful (macos/windows)', async () => {
vi.mock('node:os');
vi.spyOn(os, 'platform').mockImplementation(() => 'darwin');
Expand Down Expand Up @@ -306,6 +308,7 @@ test('Fail prereq if not rootful (macos/windows)', async () => {
'The podman machine is not set as rootful. Please recreate the podman machine with rootful privileges set and try again.',
);
});
*/

test('Pass prereq if rootful v5 machine (macos/windows)', async () => {
vi.mock('node:os');
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
"svelte-preprocess": "^6.0.3",
"tailwindcss": "^3.4.17",
"vite": "^6.0.3",
"vitest": "^2.0.2"
"vitest": "3.0.0-beta.2"
}
}
Loading

0 comments on commit 45dfb40

Please sign in to comment.