mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-28 13:21:42 +00:00
cleanup
This commit is contained in:
@@ -128,7 +128,7 @@ test.describe.serial("Upload Item", () => {
|
||||
await context?.dispose();
|
||||
});
|
||||
|
||||
test("upload document", async ({}, testInfo) => {
|
||||
test("upload document", async () => {
|
||||
// Create file to upload
|
||||
const TestDataJsonString: string = JSON.stringify(TestData, null, 2);
|
||||
writeFileSync(uploadDocumentFilePath, TestDataJsonString);
|
||||
@@ -150,7 +150,7 @@ test.describe.serial("Upload Item", () => {
|
||||
});
|
||||
});
|
||||
|
||||
test("upload same document twice", async ({}, testInfo) => {
|
||||
test("upload same document twice", async () => {
|
||||
// Create file to upload
|
||||
const TestDataJsonString: string = JSON.stringify(TestData, null, 2);
|
||||
writeFileSync(uploadDocumentFilePath, TestDataJsonString);
|
||||
@@ -186,7 +186,7 @@ test.describe.serial("Upload Item", () => {
|
||||
);
|
||||
});
|
||||
|
||||
test("upload invalid json", async ({}, testInfo) => {
|
||||
test("upload invalid json", async () => {
|
||||
// Create file to upload
|
||||
let TestDataJsonString: string = JSON.stringify(TestData, null, 2);
|
||||
// Remove the first '[' so that it becomes invalid json
|
||||
|
||||
Reference in New Issue
Block a user