Skip to content

Commit

Permalink
Merge pull request #3070 from gdg-x/dependabot/npm_and_yarn/eslint-pl…
Browse files Browse the repository at this point in the history
…ugin-jest-28.3.0

Bump eslint-plugin-jest from 27.9.0 to 28.3.0
  • Loading branch information
abraham committed May 1, 2024
2 parents d16696f + ef914c0 commit 5117a65
Show file tree
Hide file tree
Showing 26 changed files with 271 additions and 19 deletions.
2 changes: 1 addition & 1 deletion __tests__/web.setup.ts
@@ -1,5 +1,5 @@
import { jest } from '@jest/globals';
import '@testing-library/jest-dom';
import '@testing-library/jest-dom/jest-globals';

jest.mock('firebase/messaging');
jest.mock('../src/firebase');
249 changes: 237 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -93,7 +93,7 @@
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-html": "^8.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jest": "^28.3.0",
"eslint-plugin-jest-dom": "^5.2.0",
"eslint-plugin-testing-library": "^6.2.0",
"firebase-admin": "^12.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/about-block.test.ts
@@ -1,4 +1,4 @@
import { beforeEach, describe, it, jest } from '@jest/globals';
import { beforeEach, describe, expect, it, jest } from '@jest/globals';
import { fireEvent, screen, within } from '@testing-library/dom';
import { mocked } from 'jest-mock';
import { html } from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion src/components/auth-required.test.ts
@@ -1,4 +1,4 @@
import { beforeEach, describe, it, jest } from '@jest/globals';
import { beforeAll, beforeEach, describe, expect, it, jest } from '@jest/globals';
import { fireEvent } from '@testing-library/dom';
import { mocked } from 'jest-mock';
import { html } from 'lit';
Expand Down
2 changes: 1 addition & 1 deletion src/components/hero/hero-block.test.ts
@@ -1,4 +1,4 @@
import { beforeEach, describe, it } from '@jest/globals';
import { beforeEach, describe, expect, it, jest } from '@jest/globals';
import { screen } from '@testing-library/dom';
import { mocked } from 'jest-mock';
import { html } from 'lit';
Expand Down
1 change: 1 addition & 0 deletions src/models/badge.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { Badge } from './badge';
import { allKeys } from './utils';
Expand Down
1 change: 1 addition & 0 deletions src/models/day.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { Day } from './day';
import { allKeys } from './utils';
Expand Down
1 change: 1 addition & 0 deletions src/models/feedback.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import { FeedbackData } from './feedback';
import { allKeys } from './utils';

Expand Down
1 change: 1 addition & 0 deletions src/models/hero.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import { Hero } from './hero';
import { allKeys } from './utils';

Expand Down
1 change: 1 addition & 0 deletions src/models/member.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { MemberData } from './member';
import { allKeys } from './utils';
Expand Down
1 change: 1 addition & 0 deletions src/models/partner-group.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { PartnerGroupData } from './partner-group';
import { allKeys } from './utils';
Expand Down
1 change: 1 addition & 0 deletions src/models/partner.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { PartnerData } from './partner';
import { allKeys } from './utils';
Expand Down
1 change: 1 addition & 0 deletions src/models/post.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { PostData } from './post';
import { allKeys } from './utils';
Expand Down
1 change: 1 addition & 0 deletions src/models/previous-session.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { PreviousSession } from './previous-session';
import { allKeys } from './utils';
Expand Down
1 change: 1 addition & 0 deletions src/models/previous-speaker.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { PreviousSpeaker } from './previous-speaker';
import { allKeys } from './utils';
Expand Down
1 change: 1 addition & 0 deletions src/models/session.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { SessionData } from './session';
import { allKeys } from './utils';
Expand Down
1 change: 1 addition & 0 deletions src/models/social.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { Social } from './social';
import { allKeys } from './utils';
Expand Down
1 change: 1 addition & 0 deletions src/models/speaker.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { SpeakerData } from './speaker';
import { allKeys } from './utils';
Expand Down
1 change: 1 addition & 0 deletions src/models/team.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { MemberData } from './member';
import { TeamData } from './team';
Expand Down
1 change: 1 addition & 0 deletions src/models/ticket.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { Ticket } from './ticket';
import { allKeys } from './utils';
Expand Down
1 change: 1 addition & 0 deletions src/models/time.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it } from '@jest/globals';
import data from '../../docs/default-firebase-data.json';
import { Time } from './time';
import { allKeys } from './utils';
Expand Down

0 comments on commit 5117a65

Please sign in to comment.