Skip to content

Commit

Permalink
[pulsar-updater] Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
savetheclocktower committed Jan 6, 2025
1 parent 7c1986f commit 4700ce3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/pulsar-updater/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Since a major part of the functionality of this package is attempting to determi
* Universal: Developer Mode
* Universal: Safe Mode
* Universal: Spec Mode
* Universal: Developer Instance
* Universal: Custom Release Channel
* Windows: Chocolatey Installation
* Windows: winget Installation
* Windows: User Installation
Expand Down
4 changes: 2 additions & 2 deletions packages/pulsar-updater/spec/find-install-method-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ describe("find-install-method main", async () => {
const platform = process.platform;
const arch = process.arch;

it("Returns developer instance if applicable", async () => {
it("Returns custom release channel 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("Developer Instance");
expect(method.installMethod).toBe("Custom Release Channel");
expect(method.platform).toBe(platform);
expect(method.arch).toBe(arch);
});
Expand Down

0 comments on commit 4700ce3

Please sign in to comment.