Skip to content

Commit

Permalink
test: Application entry can't be found #371
Browse files Browse the repository at this point in the history
  • Loading branch information
develar committed Apr 29, 2016
1 parent c46e1f5 commit afb6b24
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/src/BuildTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ test("main in the app package.json (no asar)", () => assertPack("test-app", allP
}
}))


test("relative index", () => assertPack("test-app", allPlatformsAndCurrentArch(false), {
tempDirCreated: projectDir => modifyPackageJson(projectDir, data => {
data.main = "./index.js"
}, true)
}))

test("version from electron-prebuilt dependency", () => assertPack("test-app-one", {
platform: [Platform.fromString(process.platform)],
dist: false
Expand Down

0 comments on commit afb6b24

Please sign in to comment.