Skip to content

Commit

Permalink
Extract system tests into separate files
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoroth committed Feb 24, 2024
1 parent de65c87 commit e4da672
Show file tree
Hide file tree
Showing 16 changed files with 290 additions and 428 deletions.
4 changes: 2 additions & 2 deletions test/packages/app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe("packages", () => {
expect(project.controllerDefinitions.map(controller => controller.guessedIdentifier).sort()).toEqual(["custom-modal", "hello"])
expect(project.allControllerDefinitions.map(controller => controller.guessedIdentifier).sort()).toEqual(exportedIdentifiers)
expect(project.allSourceFiles.flatMap(sourceFile => sourceFile.controllerDefinitions).map(controller => controller.guessedIdentifier).sort()).toEqual(exportedIdentifiers)
}, 10_000)
})

test("detect all controllers", async () => {
expect(project.controllerDefinitions.length).toEqual(0)
Expand Down Expand Up @@ -292,6 +292,6 @@ describe("packages", () => {
expect(project.controllerDefinitions.map(controller => controller.guessedIdentifier).sort()).toEqual(["custom-modal", "hello"])
expect(project.allControllerDefinitions.map(controller => controller.classDeclaration.className || controller.guessedIdentifier).sort()).toEqual(allIdentifiers)
expect(project.allSourceFiles.flatMap(sourceFile => sourceFile.controllerDefinitions).map(controller => controller.classDeclaration.className || controller.guessedIdentifier).sort()).toEqual(allIdentifiers)
}, 10_000)
})
})
})
138 changes: 0 additions & 138 deletions test/project/application_file.test.ts

This file was deleted.

138 changes: 0 additions & 138 deletions test/project/controllers_index_file.test.ts

This file was deleted.

Loading

0 comments on commit e4da672

Please sign in to comment.