Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
removed extra test
Browse files Browse the repository at this point in the history
  • Loading branch information
sdadn committed Mar 8, 2024
1 parent bc2e545 commit 93aceb1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions scripts/tests/prettifyJSON.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,6 @@ describe.only('prettifyJSON script', () => {
expect(newJSON.keywords).toStrictEqual(['AAA', 'CCC', 'III', 'JJJ', 'ZZZ']);
});

it('alphabetizes files', () => {
fsReadFileMock.mockReturnValueOnce({ files: ['JJJ', 'ZZZ', 'III', 'AAA', 'CCC'] });

const JSON = fs.readFileSync();
const newJSON = prettifyJSON(JSON);

expect(newJSON.files).toStrictEqual(['AAA', 'CCC', 'III', 'JJJ', 'ZZZ']);
});

it('alphabetizes workspaces', () => {
fsReadFileMock.mockReturnValueOnce({ workspaces: ['JJJ', 'ZZZ', 'III', 'AAA', 'CCC'] });

Expand Down

0 comments on commit 93aceb1

Please sign in to comment.