Skip to content

Commit

Permalink
timeout specific to one test
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkav committed Jun 13, 2023
1 parent c7088d3 commit 047301b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/insomnia-smoke-test/cli/cli.test.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { describe, expect, it, jest } from '@jest/globals';
import { describe, expect, it } from '@jest/globals';
import execa from 'execa';
import path from 'path';

const binPath = path.resolve('../insomnia-inso/binaries/inso');

describe('inso basic features', () => {
jest.setTimeout(30000);
describe('run test', () => {
it('should not fail running tests', async () => {
const { failed } = await execa(binPath, [
Expand All @@ -20,7 +19,7 @@ describe('inso basic features', () => {
]);

expect(failed).toBe(false);
});
}, 20 * 1000);
});

describe('generate config', () => {
Expand Down

0 comments on commit 047301b

Please sign in to comment.