-
-
Notifications
You must be signed in to change notification settings - Fork 197
Add 'sandbox-pod' command. Implement test. #1052
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
a57e2e9
to
e721403
Compare
e721403
to
b6b80de
Compare
Is it possible that |
let fs: IFileSystem = testInjector.resolve("fs"); | ||
let config = testInjector.resolve("config"); | ||
let childProcess = testInjector.resolve("childProcess"); | ||
let projectIntegrationTest = new ProjectIntegrationTest(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tab <-> spaces issue? there's extra white space
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed incorrect spacing.
Regarding the CI error message
Line 142 corresponds to
I strongly believe the build machine doesn't have |
ebc0349
to
5bcca4c
Compare
@@ -39,21 +39,20 @@ class ProjectIntegrationTest { | |||
return projectService.createProject(projectName); | |||
} | |||
|
|||
public getDefaultTemplatePath(): IFuture<string> { | |||
public getDefaultTemplatePath(templateName: string): IFuture<string> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function should be renamed for example getNpmPackagePath(packageName: string)
👍 after taking care of my comments. |
let workingFolderPath = temp.mkdirSync("ios_project"); | ||
|
||
let iosTemplatePath = path.join(projectIntegrationTest.getDefaultTemplatePath("tns-ios").wait(), "framework/"); | ||
childProcess.exec(`cp -R ${iosTemplatePath} ${workingFolderPath}`, { cwd: workingFolderPath }).wait(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should use either $fs or shelljs
34ae123
to
561cf92
Compare
561cf92
to
39a3bec
Compare
f4cb9c7
to
cef3792
Compare
62b3593
to
6cd9dcf
Compare
Test PASSed. |
6cd9dcf
to
41fdcc8
Compare
Test PASSed. |
41fdcc8
to
a2dfd7d
Compare
Test PASSed. |
d731855
to
aced05d
Compare
aced05d
to
20f4b26
Compare
Test PASSed. |
Changes have been applied. Please review again. The timeout has been increased to 15 seconds but sporadically the test fails with a |
👍 |
Add 'sandbox-pod' command. Implement test.
Add
sandbox-pod
command execution to restirct write permissions outside project directory.TeamPulse - [Server] Sandbox Cocoa Pods
Related: #1065