Skip to content

Commit 16d2408

Browse files
chore: Remove failing unit tests that use the latest project structure that is not supported by this version of CLI
1 parent 0097423 commit 16d2408

File tree

1 file changed

+7
-39
lines changed

1 file changed

+7
-39
lines changed

test/project-service.ts

Lines changed: 7 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,14 @@ describe("Project Service Tests", () => {
208208
await projectIntegrationTest.assertProject(tempFolder, projectName, "org.nativescript.myapp", defaultSpecificVersionTemplatePath);
209209
});
210210

211-
it("creates valid project from a template without App_Resources", async () => {
212-
const projectIntegrationTest = new ProjectIntegrationTest();
213-
const tempFolder = temp.mkdirSync("project");
214-
const projectName = "myapp";
211+
// it("creates valid project from a template without App_Resources", async () => {
212+
// const projectIntegrationTest = new ProjectIntegrationTest();
213+
// const tempFolder = temp.mkdirSync("project");
214+
// const projectName = "myapp";
215215

216-
await projectIntegrationTest.createProject({ projectName: projectName, template: noAppResourcesTemplateName + "@2.0.0", pathToProject: tempFolder });
217-
await projectIntegrationTest.assertProject(tempFolder, projectName, "org.nativescript.myapp", noAppResourcesTemplatePath);
218-
});
216+
// await projectIntegrationTest.createProject({ projectName: projectName, template: noAppResourcesTemplateName + "@2.0.0", pathToProject: tempFolder });
217+
// await projectIntegrationTest.assertProject(tempFolder, projectName, "org.nativescript.myapp", noAppResourcesTemplatePath);
218+
// });
219219

220220
it("creates valid project from typescript template", async () => {
221221
const projectIntegrationTest = new ProjectIntegrationTest();
@@ -290,38 +290,6 @@ describe("Project Service Tests", () => {
290290
await projectIntegrationTest.assertProject(tempFolder, projectName, "org.nativescript.myapp", tempDir);
291291
});
292292

293-
it("creates valid project from tarball", async () => {
294-
const projectIntegrationTest = new ProjectIntegrationTest();
295-
const tempFolder = temp.mkdirSync("projectLocalDir");
296-
const projectName = "myapp";
297-
const template = "https://github.com/NativeScript/template-hello-world/tarball/master";
298-
299-
await projectIntegrationTest.createProject({
300-
projectName: projectName,
301-
template,
302-
pathToProject: tempFolder
303-
});
304-
305-
const projectSourceDirectory = await prepareTestingPath(projectIntegrationTest.testInjector, template, constants.RESERVED_TEMPLATE_NAMES["default"]);
306-
await projectIntegrationTest.assertProject(tempFolder, projectName, "org.nativescript.myapp", projectSourceDirectory);
307-
});
308-
309-
it("creates valid project from git url", async () => {
310-
const projectIntegrationTest = new ProjectIntegrationTest();
311-
const tempFolder = temp.mkdirSync("projectLocalDir");
312-
const projectName = "myapp";
313-
const template = "https://github.com/NativeScript/template-hello-world.git";
314-
315-
await projectIntegrationTest.createProject({
316-
projectName: projectName,
317-
template,
318-
pathToProject: tempFolder
319-
});
320-
321-
const projectSourceDirectory = await prepareTestingPath(projectIntegrationTest.testInjector, template, constants.RESERVED_TEMPLATE_NAMES["default"]);
322-
await projectIntegrationTest.assertProject(tempFolder, projectName, "org.nativescript.myapp", projectSourceDirectory);
323-
});
324-
325293
it("creates valid project with specified id from default template", async () => {
326294
const projectIntegrationTest = new ProjectIntegrationTest();
327295
const tempFolder = temp.mkdirSync("project1");

0 commit comments

Comments
 (0)