Skip to content

Commit

Permalink
chore: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
nimec01 committed Sep 21, 2024
1 parent 12bd994 commit b6854d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/base.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test('base flavor should be linted correctly', async () => {
expect(results).toBeDefined();
expect(results.length).toBe(2);

expect(results.at(0).errorCount).toBe(10);
expect(results.at(0).messages.length).toBe(10);
expect(results.at(0).messages).toEqual(
expect.arrayContaining([
expect.objectContaining({
Expand Down Expand Up @@ -70,7 +70,7 @@ test('base flavor should be linted correctly', async () => {
])
);

expect(results.at(1).errorCount).toBe(6);
expect(results.at(1).messages.length).toBe(6);
expect(results.at(1).messages).toEqual(
expect.arrayContaining([
expect.objectContaining({
Expand Down
4 changes: 2 additions & 2 deletions tests/typescript.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test('typescript flavor should be linted correctly', async () => {
expect(results).toBeDefined();
expect(results.length).toBe(2);

expect(results.at(0).errorCount).toBe(10);
expect(results.at(0).messages.length).toBe(10);
expect(results.at(0).messages).toEqual(
expect.arrayContaining([
expect.objectContaining({
Expand Down Expand Up @@ -70,7 +70,7 @@ test('typescript flavor should be linted correctly', async () => {
])
);

expect(results.at(1).errorCount).toBe(8);
expect(results.at(1).messages.length).toBe(8);
expect(results.at(1).messages).toEqual(
expect.arrayContaining([
expect.objectContaining({
Expand Down

0 comments on commit b6854d9

Please sign in to comment.