Skip to content

Commit 185400b

Browse files
terapyonterapyon
authored andcommitted
fix CI test
1 parent 4eca6c4 commit 185400b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

net_vis/tests/test_html_exporter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Tests for HTML export functionality."""
22

3+
import sys
34
from pathlib import Path
45

56
import pytest
@@ -356,6 +357,7 @@ def test_export_large_graph_performance(self, tmp_path: Path) -> None:
356357
assert elapsed < 30, f"Export took {elapsed:.2f}s, expected < 30s"
357358
assert filepath.exists()
358359

360+
@pytest.mark.skipif(sys.platform == "win32", reason="chmod doesn't work the same on Windows")
359361
def test_permission_error_propagates(self, sample_plotter: Plotter, tmp_path: Path) -> None:
360362
"""T057: Verify permission errors are propagated."""
361363
import stat

src/__tests__/mimePlugin.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ describe('validateVersion', () => {
112112
});
113113

114114
it('should log success for matching versions', () => {
115-
validateVersion('0.5.0');
115+
validateVersion('0.6.0');
116116

117117
expect(consoleLogSpy).toHaveBeenCalledWith(
118-
expect.stringContaining('Version check passed: v0.5.0'),
118+
expect.stringContaining('Version check passed: v0.6.0'),
119119
);
120120
expect(consoleWarnSpy).not.toHaveBeenCalled();
121121
});
@@ -127,7 +127,7 @@ describe('validateVersion', () => {
127127
expect.stringContaining('Version mismatch'),
128128
);
129129
expect(consoleWarnSpy).toHaveBeenCalledWith(
130-
expect.stringContaining('Frontend v0.5.0'),
130+
expect.stringContaining('Frontend v0.6.0'),
131131
);
132132
expect(consoleWarnSpy).toHaveBeenCalledWith(
133133
expect.stringContaining('Backend v0.3.0'),

0 commit comments

Comments
 (0)