mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 19:17:09 +03:00
Returns "Developer Instance" in tests
This commit is contained in:
parent
e8f4f61baf
commit
52b71d3464
@ -5,13 +5,13 @@ describe("find-install-method main", async () => {
|
||||
const platform = process.platform;
|
||||
const arch = process.arch;
|
||||
|
||||
it("Returns spec mode if applicable", async () => {
|
||||
it("Returns developer instance if applicable", async () => {
|
||||
// We can't mock the atom api return from a package,
|
||||
// So we will just know that if tests are running, it's in the Atom SpecMode
|
||||
|
||||
let method = await findInstallMethod();
|
||||
|
||||
expect(method.installMethod).toBe("Spec Mode");
|
||||
expect(method.installMethod).toBe("Developer Instance");
|
||||
expect(method.platform).toBe(platform);
|
||||
expect(method.arch).toBe(arch);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user