mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-04-21 17:47:22 +00:00
chore: enable all tests
Change-Id: Id51f7e12f26ce11d8a2b4cfa2d28ec2f3028ca73 Signed-off-by: Florent Benoit <fbenoit@redhat.com>
This commit is contained in:
parent
0d3ebc7bb2
commit
1cbb5d306a
4 changed files with 15 additions and 7 deletions
2
.github/workflows/pr-check.yaml
vendored
2
.github/workflows/pr-check.yaml
vendored
|
|
@ -200,4 +200,4 @@ jobs:
|
|||
run: yarn format:check
|
||||
|
||||
- name: Run unit tests
|
||||
run: yarn test:main
|
||||
run: yarn test
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
"compile:pull-request": "cross-env MODE=production npm run build && electron-builder build --publish never --config .electron-builder.config.js",
|
||||
"compile:current": "cross-env MODE=production npm run build && electron-builder build --config .electron-builder.config.js",
|
||||
"test": "npm run test:main && npm run test:preload && npm run test:renderer && npm run test:e2e && npm run test:extensions",
|
||||
"test:e2e": "npm run build && vitest run",
|
||||
"test:e2e": "npm run build && xvfb-maybe vitest run",
|
||||
"test:main": "vitest run -r packages/main --passWithNoTests",
|
||||
"test:preload": "vitest run -r packages/preload --passWithNoTests",
|
||||
"test:extensions": "vitest run -r extensions --passWithNoTests",
|
||||
|
|
@ -62,9 +62,9 @@
|
|||
"@types/dockerode": "^3.3.14",
|
||||
"@types/getos": "^3.0.1",
|
||||
"@types/tar-fs": "^2.0.1",
|
||||
"@types/validator": "^13.7.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
||||
"@typescript-eslint/parser": "^5.45.0",
|
||||
"@types/validator": "^13.7.0",
|
||||
"cross-env": "7.0.3",
|
||||
"dts-for-context-bridge": "0.7.1",
|
||||
"electron": "^21.3.1",
|
||||
|
|
@ -79,7 +79,8 @@
|
|||
"typescript": "4.9.3",
|
||||
"validator": "^13.7.0",
|
||||
"vite": "3.2.4",
|
||||
"vitest": "^0.25.3"
|
||||
"vitest": "^0.25.3",
|
||||
"xvfb-maybe": "^0.2.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docker/extension-api-client-types": "0.2.3",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
import type { ElectronApplication } from 'playwright';
|
||||
import { _electron as electron } from 'playwright';
|
||||
import { afterAll, beforeAll, expect, test } from 'vitest';
|
||||
import '../packages/preload/exposedInMainWorld.d.ts';
|
||||
|
||||
let electronApp: ElectronApplication;
|
||||
|
||||
|
|
|
|||
12
yarn.lock
12
yarn.lock
|
|
@ -5669,7 +5669,7 @@ dashdash@^1.12.0:
|
|||
dependencies:
|
||||
assert-plus "^1.0.0"
|
||||
|
||||
debug@2.6.9, debug@^2.6.0, debug@^2.6.8:
|
||||
debug@2.6.9, debug@^2.2.0, debug@^2.6.0, debug@^2.6.8:
|
||||
version "2.6.9"
|
||||
resolved "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz"
|
||||
integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==
|
||||
|
|
@ -12343,7 +12343,7 @@ whatwg-url@^5.0.0:
|
|||
tr46 "~0.0.3"
|
||||
webidl-conversions "^3.0.0"
|
||||
|
||||
which@^1.3.1:
|
||||
which@^1.2.4, which@^1.3.1:
|
||||
version "1.3.1"
|
||||
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
|
||||
integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==
|
||||
|
|
@ -12479,6 +12479,14 @@ xterm@^5.0.0:
|
|||
resolved "https://registry.yarnpkg.com/xterm/-/xterm-5.0.0.tgz#0af50509b33d0dc62fde7a4ec17750b8e453cc5c"
|
||||
integrity sha512-tmVsKzZovAYNDIaUinfz+VDclraQpPUnAME+JawosgWRMphInDded/PuY0xmU5dOhyeYZsI0nz5yd8dPYsdLTA==
|
||||
|
||||
xvfb-maybe@^0.2.1:
|
||||
version "0.2.1"
|
||||
resolved "https://registry.yarnpkg.com/xvfb-maybe/-/xvfb-maybe-0.2.1.tgz#ed8cb132957b7848b439984c66f010ea7f24361b"
|
||||
integrity sha512-9IyRz3l6Qyhl6LvnGRF5jMPB4oBEepQnuzvVAFTynP6ACLLSevqigICJ9d/+ofl29m2daeaVBChnPYUnaeJ7yA==
|
||||
dependencies:
|
||||
debug "^2.2.0"
|
||||
which "^1.2.4"
|
||||
|
||||
y18n@^5.0.5:
|
||||
version "5.0.8"
|
||||
resolved "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz"
|
||||
|
|
|
|||
Loading…
Reference in a new issue