Skip to content

Commit

Permalink
update some devDependencies (#11386)
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas authored Nov 27, 2023
1 parent 25d0968 commit c0c05ed
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 32 deletions.
56 changes: 33 additions & 23 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"@rollup/plugin-node-resolve": "11.2.1",
"@size-limit/esbuild-why": "11.0.0",
"@size-limit/preset-small-lib": "11.0.0",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/jest-dom": "6.1.4",
"@testing-library/react": "14.0.0",
"@testing-library/react-12": "npm:@testing-library/react@^12",
"@testing-library/user-event": "14.5.1",
Expand Down Expand Up @@ -144,7 +144,7 @@
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "npm:@phryneas/[email protected]",
"eslint-plugin-local-rules": "2.0.1",
"eslint-plugin-testing-library": "5.11.1",
"eslint-plugin-testing-library": "6.2.0",
"expect-type": "0.17.3",
"fetch-mock": "9.11.0",
"glob": "8.1.0",
Expand Down
4 changes: 1 addition & 3 deletions src/react/hoc/__tests__/mutations/lifecycle.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { render, cleanup } from "@testing-library/react";
import { render } from "@testing-library/react";
import gql from "graphql-tag";

import { ApolloProvider } from "../../../context/ApolloProvider";
Expand All @@ -21,8 +21,6 @@ const expectedData = {
};

describe("graphql(mutation) lifecycle", () => {
afterEach(cleanup);

itAsync(
"allows falsy values in the mapped variables from props",
(resolve, reject) => {
Expand Down
2 changes: 1 addition & 1 deletion src/react/hoc/__tests__/queries/observableQuery.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe("[queries] observableQuery", () => {
// ensure first assertion and umount tree
await assert1();

userEvent.click(screen.getByText("Break things"));
await userEvent.click(screen.getByText("Break things"));

// ensure cleanup
await assert2();
Expand Down
4 changes: 1 addition & 3 deletions src/react/hoc/__tests__/shared-operations.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { render, cleanup } from "@testing-library/react";
import { render } from "@testing-library/react";
import gql from "graphql-tag";
import { DocumentNode } from "graphql";

Expand All @@ -25,8 +25,6 @@ function compose(...funcs: Function[]) {
}

describe("shared operations", () => {
afterEach(cleanup);

describe("withApollo", () => {
it("passes apollo-client to props", () => {
const client = new ApolloClient({
Expand Down

0 comments on commit c0c05ed

Please sign in to comment.