Skip to content

Commit

Permalink
test: only run run-mac-only.test.js in darwin platform
Browse files Browse the repository at this point in the history
  • Loading branch information
dnohales authored and remy committed Aug 29, 2018
1 parent 5a47a32 commit e7d9e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fork/run-mac-only.test.js
Expand Up @@ -9,7 +9,7 @@ const filenames = [
[__dirname + 'some\ \\file', '#!/bin/sh\necho "OK"'],
];

if (!process.env.TRAVIS && process.platform !== 'win32') {
if (!process.env.TRAVIS && process.platform === 'darwin') {
describe('nodemon fork (mac only)', () => {
before(() => {
filenames.map(file => fs.writeFileSync(file[0], file[1], 'utf8'));
Expand Down

0 comments on commit e7d9e87

Please sign in to comment.