diff --git a/test/test-find-visualstudio.js b/test/test-find-visualstudio.js index 2c3f4e1981..80cd56488c 100644 --- a/test/test-find-visualstudio.js +++ b/test/test-find-visualstudio.js @@ -21,6 +21,11 @@ class TestVisualStudioFinder extends VisualStudioFinder { } } +// Only run "Find Visual Studio" tests on Windows. +if (process.platform !== 'win32') { + return +} + describe('find-visualstudio', function () { this.beforeAll(function () { // Condition to skip the test suite