Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Fix unrelated test
Browse files Browse the repository at this point in the history
  • Loading branch information
rafeca committed May 24, 2019
1 parent 17aa985 commit ab90d08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/workspace-spec.js
Expand Up @@ -2424,7 +2424,7 @@ describe('Workspace', () => {

results.sort((a, b) => a.filePath.localeCompare(b.filePath))

expect(results).toHaveLength(3)
expect(results.length).toBeGreaterThan(0)
expect(results[0].filePath).toBe(
atom.project.getDirectories()[0].resolve('a')
)
Expand Down Expand Up @@ -2804,7 +2804,7 @@ describe('Workspace', () => {

await scan(/a|Elephant/, {}, result => results.push(result))

expect(results).toHaveLength(3)
expect(results.length).toBeGreaterThan(0)
const resultForA = _.find(
results,
({ filePath }) => path.basename(filePath) === 'a'
Expand Down

0 comments on commit ab90d08

Please sign in to comment.