Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cjihrig committed Jan 19, 2025
1 parent 8626a0f commit 36d208b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ describe('KubeConfig', () => {
});
it('should fail to load a missing kubeconfig file', () => {
const kc = new KubeConfig();
throws(kc.loadFromFile.bind('missing.yaml'));
throws(() => kc.loadFromFile('missing.yaml'));
});

describe('filter vs throw tests', () => {
Expand Down

0 comments on commit 36d208b

Please sign in to comment.