Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e0e3fab

Browse files
authored
Merge pull request #2066 from pre-commit/unxfail-node-windows
un-xfail node on windows
2 parents b3c0d84 + 2fc00f7 commit e0e3fab

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

tests/repository_test.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,15 +245,13 @@ def test_run_a_docker_image_hook(tempdir_factory, store, hook_id):
245245
)
246246

247247

248-
@xfailif_windows # pragma: win32 no cover
249248
def test_run_a_node_hook(tempdir_factory, store):
250249
_test_hook_repo(
251250
tempdir_factory, store, 'node_hooks_repo',
252251
'foo', [os.devnull], b'Hello World\n',
253252
)
254253

255254

256-
@xfailif_windows # pragma: win32 no cover
257255
def test_run_a_node_hook_default_version(tempdir_factory, store):
258256
# make sure that this continues to work for platforms where node is not
259257
# installed at the system
@@ -263,15 +261,13 @@ def test_run_a_node_hook_default_version(tempdir_factory, store):
263261
test_run_a_node_hook(tempdir_factory, store)
264262

265263

266-
@xfailif_windows # pragma: win32 no cover
267264
def test_run_versioned_node_hook(tempdir_factory, store):
268265
_test_hook_repo(
269266
tempdir_factory, store, 'node_versioned_hooks_repo',
270267
'versioned-node-hook', [os.devnull], b'v9.3.0\nHello World\n',
271268
)
272269

273270

274-
@xfailif_windows # pragma: win32 no cover
275271
def test_node_hook_with_npm_userconfig_set(tempdir_factory, store, tmpdir):
276272
cfg = tmpdir.join('cfg')
277273
cfg.write('cache=/dne\n')
@@ -653,7 +649,6 @@ def test_additional_ruby_dependencies_installed(tempdir_factory, store):
653649
assert 'tins' in output
654650

655651

656-
@xfailif_windows # pragma: win32 no cover
657652
def test_additional_node_dependencies_installed(tempdir_factory, store):
658653
path = make_repo(tempdir_factory, 'node_hooks_repo')
659654
config = make_config_from_repo(path)

0 commit comments

Comments
 (0)