Skip to content

Commit ebc0349

Browse files
committed
Add OS check.
1 parent c7bf25a commit ebc0349

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/project-service.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,12 @@ describe("Project Service Tests", () => {
151151
projectIntegrationTest.createProject(projectName).wait();
152152
projectIntegrationTest.assertProject(tempFolder, projectName, options.appid).wait();
153153
});
154-
it("creates valid project and tests pod sandbox", () => {
154+
it("creates ios project and tests post-install sandboxing of CocoaPods setup", () => {
155+
if (require("os").platform() !== "darwin") {
156+
console.log("Skipping CocoaPods sandbox test. It works only on darwin.");
157+
return;
158+
}
159+
155160
let testInjector = createTestInjector();
156161
let fs: IFileSystem = testInjector.resolve("fs");
157162
let config = testInjector.resolve("config");

0 commit comments

Comments
 (0)