Skip to content

Commit

Permalink
Update test/test_util.js
Browse files Browse the repository at this point in the history
Signed-off-by: Jeromy Cannon <[email protected]>
  • Loading branch information
jeromy-cannon authored Sep 30, 2024
1 parent 68ae9b0 commit c61b7bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_util.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ async function addKeyHashToMap (k8, nodeId, keyDir, uniqueNodeDestDir, keyHashMa
export function getK8Instance (configManager) {
try {
return new K8(configManager, testLogger)
// TODO: return a mock without running the init within constructor after we convert to Mocha, Jest ESModule mocks are broke.
} catch (e) {
if (!(e instanceof FullstackTestingError)) {
throw e

Check warning on line 376 in test/test_util.js

View check run for this annotation

Codecov / codecov/patch

test/test_util.js#L376

Added line #L376 was not covered by tests
Expand Down

0 comments on commit c61b7bb

Please sign in to comment.