Skip to content

Commit 19307ed

Browse files
authored
Change test ts files to js (#34)
1 parent 5be3cb4 commit 19307ed

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/configEditor.spec.ts renamed to tests/configEditor.spec.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { test, expect } from "@grafana/plugin-e2e";
2-
import { MongoDataSourceOptions, MySecureJsonData } from "../src/types";
32

43
test("\"Save & test\" should be successful when mongo without auth config is valid", async ({
54
createDataSourceConfigPage,
65
readProvisionedDataSource,
76
page,
87
}) => {
9-
const ds = await readProvisionedDataSource<MongoDataSourceOptions, MySecureJsonData>({ fileName: "test/mongo-no-auth.yml" });
8+
const ds = await readProvisionedDataSource({ fileName: "test/mongo-no-auth.yml" });
109
const configPage = await createDataSourceConfigPage({ type: ds.type });
1110
await page.getByLabel("Host").fill(ds.jsonData.host || "");
1211
await page.getByLabel("Port").fill(ds.jsonData.port?.toString() || "");
@@ -20,7 +19,7 @@ test("\"Save & test\" should be successful when mongo username-password auth con
2019
readProvisionedDataSource,
2120
page,
2221
}) => {
23-
const ds = await readProvisionedDataSource<MongoDataSourceOptions, MySecureJsonData>({ fileName: "test/mongo-username-password-auth.yml" });
22+
const ds = await readProvisionedDataSource({ fileName: "test/mongo-username-password-auth.yml" });
2423
const configPage = await createDataSourceConfigPage({ type: ds.type });
2524
await page.getByLabel("Host").fill(ds.jsonData.host || "");
2625
await page.getByLabel("Port").fill(ds.jsonData.port?.toString() || "");
File renamed without changes.

0 commit comments

Comments
 (0)