mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
13 lines
353 B
JavaScript
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);
|
|
});
|
|
});
|