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.
2 parents e27eb26 + fa91a37 commit 547ef69Copy full SHA for 547ef69
src/config_test.ts
@@ -1613,6 +1613,19 @@ describe('KubeConfig', () => {
1613
});
1614
1615
describe('BufferOrFile', () => {
1616
+ let originalEnv;
1617
+
1618
+ before(() => {
1619
+ // The code being tested here references process.env and can fail
1620
+ // if run on a machine with certain environment variable settings.
1621
+ originalEnv = process.env;
1622
+ process.env = {};
1623
+ });
1624
1625
+ after(() => {
1626
+ process.env = originalEnv;
1627
1628
1629
it('should load from root if present', () => {
1630
const data = 'some data for file';
1631
const arg: any = {
0 commit comments