Skip to content

Commit

Permalink
Fix npm audit warning (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux authored Dec 17, 2024
1 parent 2c38da0 commit b0b703e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
15 changes: 0 additions & 15 deletions e2e/node/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1503,7 +1503,6 @@ describe(`End-to-end access grant tests for environment [${environment}] `, () =
let accessGrant: AccessGrant;
let testFileIri: string;
let testContainerIri: string;
let testContainerIriChild: string;
const testFileContent = "This is a test.";

beforeEach(async () => {
Expand Down Expand Up @@ -1562,20 +1561,6 @@ describe(`End-to-end access grant tests for environment [${environment}] `, () =
}),
);

if (testContainerIriChild !== undefined) {
// This resource is only created in some tests, but cleaning it up here
// rather than in the test ensures it is properly removed even on test
// failure.
await retryAsync(() =>
sc.deleteContainer(testContainerIriChild, {
fetch: addUserAgent(
resourceOwnerSession.fetch,
TEST_USER_AGENT,
),
}),
);
}

await retryAsync(() =>
sc.deleteContainer(testContainerIri, {
fetch: addUserAgent(resourceOwnerSession.fetch, TEST_USER_AGENT),
Expand Down
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b0b703e

Please sign in to comment.