From 0880f2419386a03143f84bf7cb85cfdb20952b8b Mon Sep 17 00:00:00 2001 From: eps1lon Date: Tue, 8 Jun 2021 10:30:06 +0200 Subject: [PATCH 1/4] Bump kcd-scripts to 8.x --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 717cdf7a..80692edb 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@testing-library/jest-dom": "^5.11.6", "@types/react-dom": "^17.0.0", "dotenv-cli": "^4.0.0", - "kcd-scripts": "^7.5.1", + "kcd-scripts": "^8.3.0", "npm-run-all": "^4.1.5", "react": "^17.0.1", "react-dom": "^17.0.1", From b9cd1e6dc3c3c9ed46e0309946608a0fc792180e Mon Sep 17 00:00:00 2001 From: eps1lon Date: Tue, 8 Jun 2021 10:33:41 +0200 Subject: [PATCH 2/4] Bump kcd-scripts to 9.x --- package.json | 7 +++++-- types/test.tsx | 32 ++++++++++++++++---------------- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 80692edb..4bb9e206 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "@testing-library/jest-dom": "^5.11.6", "@types/react-dom": "^17.0.0", "dotenv-cli": "^4.0.0", - "kcd-scripts": "^8.3.0", + "kcd-scripts": "^9.1.0", "npm-run-all": "^4.1.5", "react": "^17.0.1", "react-dom": "^17.0.1", @@ -68,7 +68,10 @@ "react/no-adjacent-inline-elements": "off", "import/no-unassigned-import": "off", "import/named": "off", - "testing-library/no-dom-import": "off" + "testing-library/no-container": "off", + "testing-library/no-dom-import": "off", + "testing-library/no-unnecessary-act": "off", + "testing-library/prefer-user-event": "off" } }, "eslintIgnore": [ diff --git a/types/test.tsx b/types/test.tsx index 5f9575ac..239caed6 100644 --- a/types/test.tsx +++ b/types/test.tsx @@ -3,39 +3,39 @@ import {render, fireEvent, screen, waitFor} from '.' import * as pure from './pure' export async function testRender() { - const page = render(