@haechi-labs/henesis-cli
Version:
🚀 Command Line Interface tool to Utilize henesis
15 lines • 570 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const test_1 = require("@oclif/test");
process.env.HENESIS_TEST = 'true';
describe('integration:status', () => {
context('When error occurred', () => {
test_1.test
.nock('http://localhost:8080', (api) => api.get('/integrations/v1').reply(400, 'error occurred'))
.stdout()
.command(['integration:status'])
.exit(2)
.it('exit with status 2 when fail to getIntegrations');
});
});
//# sourceMappingURL=status.spec.js.map