Skip to content

Commit

Permalink
Fix formatting error
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuanazareth97 committed Apr 26, 2024
1 parent 1d62121 commit 908438c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cli/src/command-helpers/spkg.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ describe('isSpkgUrl', () => {
it('should return true for valid spkg url', () => {
const spkgUrl = 'https://spkg.io/streamingfast/package.spkg';
const result = isSpkgUrl(spkgUrl);
expect(result).to.be.true;
expect(result).toBe(true);
});

it('should return false for invalid spkg url', () => {
const spkgUrl = 'https://example.com/package.spkg';
const result = isSpkgUrl(spkgUrl);
expect(result).to.be.false;
expect(result).toBe(false);
});
it('should return false for non-url string', () => {
const spkgUrl = 'streamingfast/package.spkg';
const result = isSpkgUrl(spkgUrl);
expect(result).to.be.false;
expect(result).toBe(false);
});
});

0 comments on commit 908438c

Please sign in to comment.