Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
tgreyuk committed Apr 9, 2022
1 parent b87a0ad commit f5a8291
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/docusaurus-plugin-typedoc/test/specs/plugin.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

import * as fs from 'fs-extra';
import * as tmp from 'tmp';

import typedocPlugin from '../../dist/plugin';

tmp.setGracefulCleanup();
Expand Down Expand Up @@ -37,7 +35,7 @@ describe(`Plugin:`, () => {
});
test(`should render`, () => {
const files = fs.readdirSync(tmpobj.name + '/docs/api');
expect(files).toMatchSnapshot();
expect(files.sort((a, b) => a.localeCompare(b))).toMatchSnapshot();
});

test(`should write doc`, () => {
Expand Down

0 comments on commit f5a8291

Please sign in to comment.