Skip to content

Commit a7f33ef

Browse files
committed
Remove requirement that apiVersion be specified.
1 parent 4b8d5ac commit a7f33ef

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/config_test.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,6 @@ describe('KubeConfig', () => {
172172
});
173173
});
174174

175-
describe('loadFromString', () => {
176-
it('should throw with a bad version', () => {
177-
const kc = new KubeConfig();
178-
expect(() => kc.loadFromString('apiVersion: v2')).to.throw('unknown version: v2');
179-
});
180-
});
181-
182175
describe('loadFromFile', () => {
183176
it('should load the kubeconfig file properly', () => {
184177
const kc = new KubeConfig();

0 commit comments

Comments
 (0)