We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8626a0f commit 36d208bCopy full SHA for 36d208b
src/config_test.ts
@@ -197,7 +197,7 @@ describe('KubeConfig', () => {
197
});
198
it('should fail to load a missing kubeconfig file', () => {
199
const kc = new KubeConfig();
200
- throws(kc.loadFromFile.bind('missing.yaml'));
+ throws(() => kc.loadFromFile('missing.yaml'));
201
202
203
describe('filter vs throw tests', () => {
0 commit comments