Skip to content

Commit fa1b19e

Browse files
committed
Small fixes
1 parent 8f78937 commit fa1b19e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
path: |
4848
~/.cache/ms-playwright
4949
~/AppData/Local/ms-playwright
50+
~/Library/Caches/ms-playwright
5051
key: ${{ runner.os }}-playwright-${{ hashFiles('**/package-lock.json') }}
5152
restore-keys: |
5253
${{ runner.os }}-playwright-
@@ -85,7 +86,6 @@ jobs:
8586
echo "_No coverage info found._" >> $GITHUB_STEP_SUMMARY
8687
fi
8788
88-
8989
- name: Post integration test coverage to PR
9090
if: github.event_name == 'pull_request' && runner.os == 'Linux'
9191
uses: actions/github-script@v7

vitest.config.browser.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ class TestLogger implements Logger {
55
private _hasWarned = false;
66
private warnedMessages = new Set<string>();
77

8-
// Required properties (not methods!)
9-
get hasWarned(): boolean {
8+
get hasWarned(): boolean {
109
return this._hasWarned;
1110
}
1211

13-
// Methods
1412
info(msg: string, options?: { timestamp?: boolean }) {
1513
const ts = options?.timestamp ? `[${new Date().toISOString()}] ` : '';
1614
console.log(`[TEST INFO] ${ts}${msg}`);
@@ -43,12 +41,10 @@ class TestLogger implements Logger {
4341
}
4442
}
4543

46-
// 2. Apply at Vite config level (not test level)
4744
export default defineConfig({
4845
customLogger: new TestLogger(),
4946
logLevel: 'info',
5047

51-
//Vitest-specific configuration
5248
test: {
5349
coverage: {
5450
provider: 'v8',

0 commit comments

Comments
 (0)