Skip to content

Commit

Permalink
test: fix random error about files array sort.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannoeru committed Apr 27, 2021
1 parent 73eeb8d commit 3bb330f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/files.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ const expectFiles = ['[...all].vue', 'about.vue', 'components.vue', 'index.vue',
describe('Get files', () => {
test('Pages file', async() => {
const files = await getFilesFromPath(testPagesDir, options)
expect(files).toEqual(expectFiles)
expect(files.sort()).toEqual(expectFiles.sort())
})
})

0 comments on commit 3bb330f

Please sign in to comment.