Skip to content

Commit 36d208b

Browse files
committed
fix
1 parent 8626a0f commit 36d208b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ describe('KubeConfig', () => {
197197
});
198198
it('should fail to load a missing kubeconfig file', () => {
199199
const kc = new KubeConfig();
200-
throws(kc.loadFromFile.bind('missing.yaml'));
200+
throws(() => kc.loadFromFile('missing.yaml'));
201201
});
202202

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

0 commit comments

Comments
 (0)