react-native-integrate
Version:
Automate integration of additional code into React Native projects
13 lines (12 loc) • 463 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const execa_1 = require("execa");
const path_1 = require("path");
const bin = (0, path_1.resolve)(__dirname, './bin.js');
jest.setTimeout(30000);
describe('integrate', () => {
it('should display the help contents', async () => {
const { stdout } = await (0, execa_1.execa)(bin, ['--help']);
expect(stdout).toContain('Usage: integrate [options]');
}, 30000);
});