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

Commit

Permalink
fixed jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdadn committed May 21, 2024
1 parent e82816d commit 89813d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/tests/prettifyJSON.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ describe.only('prettifyJSON script', () => {
'eslintConfig',
'package-json-lint',
'stylelint',
'dependencies',
'peerDependencies',
'dependencies',
'devDependencies',
'scripts',
];
Expand Down Expand Up @@ -103,7 +103,7 @@ describe.only('prettifyJSON script', () => {
const newJSON = prettifyJSON(JSON);
const keys = Object.keys((newJSON));

expect(keys.slice(-4)).toStrictEqual(['dependencies', 'peerDependencies', 'devDependencies', 'scripts']);
expect(keys.slice(-4)).toStrictEqual(['peerDependencies', 'dependencies', 'devDependencies', 'scripts']);
expect(keys.slice(-4)).not.toStrictEqual(['devDependencies', 'scripts', 'peerDependencies', 'dependencies']);
});

Expand Down

0 comments on commit 89813d6

Please sign in to comment.