Skip to content

Commit

Permalink
update utils
Browse files Browse the repository at this point in the history
Signed-off-by: James Struga <[email protected]>
  • Loading branch information
James Struga committed Oct 29, 2024
1 parent 593412e commit 106dc11
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions tests/FVTTests/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Copyright IBM Corporation 2020
*/

import https from 'https';
import * as https from 'https';
import fetch from 'node-fetch';

import {
Expand All @@ -21,7 +21,7 @@ import {
} from './environment';
import { WebDriver, WebElement, By, until, Key } from 'selenium-webdriver';

async function createTestPartitionedDataset() {
export async function createTestPartitionedDataset() {
await deleteDataset(TEST_PARTITIONED_DATASET, true);
await createDataset({
primary: 300,
Expand All @@ -35,7 +35,7 @@ async function createTestPartitionedDataset() {
});
}

async function createTestSequentialDataset() {
export async function createTestSequentialDataset() {

Check failure on line 38 in tests/FVTTests/utilities.ts

View workflow job for this annotation

GitHub Actions / integration-test

Cannot redeclare exported variable 'createTestSequentialDataset'.
await deleteDataset(TEST_SEQUENTIAL_DATASET, true);
await createDataset({
primary: 300,
Expand Down Expand Up @@ -139,4 +139,11 @@ export async function editDatasetQualifierField(driver: WebDriver, searchQualifi
}


export { createTestPartitionedDataset, createTestSequentialDataset, createTestDatasetMember, cleanupDatasets, deleteDataset, editDatasetQualifierField };
export {
createTestPartitionedDataset,

Check failure on line 143 in tests/FVTTests/utilities.ts

View workflow job for this annotation

GitHub Actions / integration-test

Cannot redeclare exported variable 'createTestPartitionedDataset'.

Check failure on line 143 in tests/FVTTests/utilities.ts

View workflow job for this annotation

GitHub Actions / integration-test

Export declaration conflicts with exported declaration of 'createTestPartitionedDataset'.
createTestSequentialDataset,

Check failure on line 144 in tests/FVTTests/utilities.ts

View workflow job for this annotation

GitHub Actions / integration-test

Cannot redeclare exported variable 'createTestSequentialDataset'.

Check failure on line 144 in tests/FVTTests/utilities.ts

View workflow job for this annotation

GitHub Actions / integration-test

Export declaration conflicts with exported declaration of 'createTestSequentialDataset'.
createTestDatasetMember,

Check failure on line 145 in tests/FVTTests/utilities.ts

View workflow job for this annotation

GitHub Actions / integration-test

Cannot redeclare exported variable 'createTestDatasetMember'.
cleanupDatasets,
deleteDataset,
editDatasetQualifierField
};

0 comments on commit 106dc11

Please sign in to comment.