Skip to content

Commit 6dfbe96

Browse files
authored
skip nock related tests on macos (#879)
1 parent 0d94c2e commit 6dfbe96

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/route-install.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import assert from 'node:assert';
2+
import process from 'node:process';
23
import {esmocha, expect} from 'esmocha';
34
import _ from 'lodash';
45
import nock from 'nock';
@@ -108,6 +109,10 @@ describe('install route', () => {
108109
});
109110

110111
it('filters already installed generators and match search term', function (done) {
112+
if (process.platform === 'darwin') {
113+
this.skip();
114+
}
115+
111116
let call = 0;
112117
inquirer.prompt.mockImplementation(argument => {
113118
call++;
@@ -131,6 +136,10 @@ describe('install route', () => {
131136
});
132137

133138
it('filters blacklisted generators and match search term', function (done) {
139+
if (process.platform === 'darwin') {
140+
this.skip();
141+
}
142+
134143
let call = 0;
135144
inquirer.prompt.mockImplementation(argument => {
136145
call++;

0 commit comments

Comments
 (0)