Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Commit

Permalink
fix(test): skip adapter "pause" test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
raix committed Sep 14, 2019
1 parent 0c21c93 commit 9ca70f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tests/adapter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import * as fs from 'fs';
import {DebugClient} from 'vscode-debugadapter-testsupport';
import {DebugProtocol} from 'vscode-debugprotocol';
import { Subject } from 'await-notify';
import { platform } from 'os';

describe('Perl debug Adapter', () => {

Expand Down Expand Up @@ -153,7 +154,7 @@ describe('Perl debug Adapter', () => {

describe('pause', () => {

it('should be able to pause programs', async () => {
(platform() === "win32" ? it.skip : it)('should be able to pause programs', async () => {
const PROGRAM = Path.join(DATA_ROOT, FILE_LONG_RUNNING_PL);

// NOTE(bh): This test is probably expected to fail when test
Expand Down Expand Up @@ -195,7 +196,7 @@ describe('Perl debug Adapter', () => {
'must have gone at least twice through the loop'
);

});
}, 10000);
});

describe('setFunctionBreakpoints', () => {
Expand Down

0 comments on commit 9ca70f4

Please sign in to comment.