Returns "Developer Instance" in tests

This commit is contained in:
confused-Techie 2023-08-17 20:05:51 -07:00
parent e8f4f61baf
commit 52b71d3464

View File

@ -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);
});