Skip to content

Commit a5248fd

Browse files
committed
Adjust query matcher to account for object type
1 parent fd19a21 commit a5248fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/unit/CLIEngine.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ describe('CLIEngine Unit Tests', () => {
144144
const cliEngine = new CLIEngine(options);
145145
const results = cliEngine.executeOnPackageJsonFiles(patterns);
146146

147-
expect(results).toStrictEqual(expected);
147+
expect(results).toEqual(expected);
148148
});
149149

150150
test('when called with patterns and ignorePath', () => {
@@ -324,7 +324,7 @@ describe('CLIEngine Unit Tests', () => {
324324
const cliEngine = new CLIEngine(options);
325325
const results = cliEngine.executeOnPackageJsonObject(pkgObject, fileName);
326326

327-
expect(results).toStrictEqual(expected);
327+
expect(results).toEqual(expected);
328328
});
329329

330330
test('when called with relative path', () => {
@@ -403,7 +403,7 @@ describe('CLIEngine Unit Tests', () => {
403403
const cliEngine = new CLIEngine(options);
404404
const results = cliEngine.executeOnPackageJsonObject(pkgObject, fileName);
405405

406-
expect(results).toStrictEqual(expected);
406+
expect(results).toEqual(expected);
407407
});
408408
});
409409

0 commit comments

Comments
 (0)