diff --git a/bundle.js b/bundle.js
index adc76d0..89e8885 100644
--- a/bundle.js
+++ b/bundle.js
@@ -19,7 +19,7 @@ export function bundle() {
name: 'nightwatch-bundle',
apply: 'serve',
transformIndexHtml: {
- transform(html, _ctx) {
+ transform(html) {
const reportData = readFileSync(sampleReportPath, { encoding: 'utf8' });
return html + ``;
}
diff --git a/nightwatch/utils/TestGlobalContextProvider.tsx b/nightwatch/utils/TestGlobalContextProvider.tsx
index 80311b5..59bc9af 100644
--- a/nightwatch/utils/TestGlobalContextProvider.tsx
+++ b/nightwatch/utils/TestGlobalContextProvider.tsx
@@ -3,7 +3,7 @@ import { GlobalContext } from '../../src/contexts/GlobalContext';
type GlobalContextProps = {
children: ReactNode;
- value: any;
+ value: unknown;
};
export const GlobalContextProvider: React.FC = ({ children, value }) => {
diff --git a/src/components/EnvironmentDropdown/index.tsx b/src/components/EnvironmentDropdown/index.tsx
index 0703d8b..87c7c3a 100644
--- a/src/components/EnvironmentDropdown/index.tsx
+++ b/src/components/EnvironmentDropdown/index.tsx
@@ -37,7 +37,7 @@ const EnvironmentDropdown: React.FC = () => {
setEnvData(data);
}
});
- }, [environmentName]);
+ }, [envDropdownData,environmentName]);
return (
setDropdownOpen(open)}>
diff --git a/src/components/Separator/index.tsx b/src/components/Separator/index.tsx
index 44a549d..7cb3c49 100644
--- a/src/components/Separator/index.tsx
+++ b/src/components/Separator/index.tsx
@@ -1,4 +1,4 @@
-import styled, { css } from 'styled-components';
+import styled from 'styled-components';
type SeparatorProps = {
borderColor?: string;
diff --git a/src/components/TestDetailsView/index.tsx b/src/components/TestDetailsView/index.tsx
index c85e1bd..085a02a 100644
--- a/src/components/TestDetailsView/index.tsx
+++ b/src/components/TestDetailsView/index.tsx
@@ -26,7 +26,7 @@ const TestDetailsView: React.FC = ({ testStepsData, traceP
const { snapshotFilePath, snapshotUrl } = traceObject;
setTrace({ url: snapshotUrl, snapshotPath: snapshotFilePath });
}
- }, [filterTestSteps]);
+ }, [filteredTestsSteps]);
return (