insomnia/packages/insomnia-smoke-test/cli/app.test.js
2020-12-08 13:03:06 +13:00

13 lines
353 B
JavaScript

import execa from 'execa';
import { getBinPathSync } from 'get-bin-path';
describe('run test', () => {
it('can run unit test', () => {
const command = 'run test -a fixtures/inso-nedb TestSuite -e Dev';
const { failed } = execa.sync(getBinPathSync({ cwd: '../insomnia-inso' }), command.split(' '));
expect(failed).toBe(false);
});
});