Skip to content

Commit

Permalink
Fix test with current 'pulsar' command name
Browse files Browse the repository at this point in the history
  • Loading branch information
toddy15 committed Jan 30, 2024
1 parent 00a4c9e commit 96e33d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/test-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ describe('apm test', () => {
waitsFor('waiting for test to complete', () => atomSpawn.callCount === 1);

runs(() => {
// On Windows, there's a suffix (atom.cmd), so we only check that atom is _included_ in the path
expect(atomSpawn.mostRecentCall.args[0].indexOf('atom')).not.toBe(-1);
// On Windows, there's a suffix (pulsar.cmd), so we only check that pulsar is _included_ in the path
expect(atomSpawn.mostRecentCall.args[0].indexOf('pulsar')).not.toBe(-1);
expect(atomSpawn.mostRecentCall.args[1][0]).toEqual('--dev');
expect(atomSpawn.mostRecentCall.args[1][1]).toEqual('--test');
expect(atomSpawn.mostRecentCall.args[1][2]).toEqual(specPath);
Expand Down

0 comments on commit 96e33d0

Please sign in to comment.