From 2855bf4c7d40151403a3ec9a8f85808867ea3729 Mon Sep 17 00:00:00 2001 From: hardiknai-techm Date: Mon, 3 May 2021 09:51:16 +0530 Subject: [PATCH] update test:e2e file name --- package.json | 2 +- src/Explorer/Panes/SettingsPane/SettingsPane.test.tsx | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 26b6f2698..1ce4a4f0d 100644 --- a/package.json +++ b/package.json @@ -195,7 +195,7 @@ "pack:fast": "node --max_old_space_size=10196 ./node_modules/webpack/bin/webpack.js --mode development --progress", "copyToConsumers": "node copyToConsumers", "test": "rimraf coverage && jest", - "test:e2e": "jest -c ./jest.config.e2e.js --detectOpenHandles", + "test:e2e": "jest -c ./jest.config.playwright.js --detectOpenHandles", "watch": "npm run start", "wait-for-server": "wait-on -t 240000 -i 5000 -v https-get://0.0.0.0:1234/", "build:ase": "gulp build:ase", diff --git a/src/Explorer/Panes/SettingsPane/SettingsPane.test.tsx b/src/Explorer/Panes/SettingsPane/SettingsPane.test.tsx index 80020da83..b3a661805 100644 --- a/src/Explorer/Panes/SettingsPane/SettingsPane.test.tsx +++ b/src/Explorer/Panes/SettingsPane/SettingsPane.test.tsx @@ -3,8 +3,12 @@ import { shallow } from "enzyme"; import React from "react"; import { updateUserContext } from "UserContext"; import { SettingsPane } from "./SettingsPane"; + +const props = { + expandConsole: (): void => undefined, closePanel: (): void => undefined, }; + describe("Settings Pane", () => { it("should render Default properly", () => { const wrapper = shallow();