Skip to content

Commit b04c1db

Browse files
committed
chore: add sleep
1 parent 59da3a0 commit b04c1db

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: E2E Tests
3737
run: |
3838
for (( i = 0; i < 25; i++ )); do
39-
npx -i jest __tests__/respect/workflow-success-actions/workflow-success-actions.test.ts __tests__/respect/workflow-failure-actions/workflow-failure-actions.test.ts
39+
npx jest __tests__/respect/workflow-success-actions/workflow-success-actions.test.ts __tests__/respect/workflow-failure-actions/workflow-failure-actions.test.ts
4040
done
4141
4242
# cli-package-test:
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
import { getParams, getCommandOutput } from '../utils';
1+
import { getParams } from '../utils';
22
import { join } from 'path';
3+
import { getCommandOutput } from '../../helpers';
34

45
test('should execute successActions for each workflow step if it does not have onSuccess action itself', () => {
56
const indexEntryPoint = join(process.cwd(), 'packages/cli/lib/index.js');
67
const fixturesPath = join(__dirname, 'workflow-failure-actions.arazzo.yaml');
78
const args = getParams(indexEntryPoint, ['respect', fixturesPath]);
89

9-
const result = getCommandOutput(args);
10+
const result = getCommandOutput(args, process.cwd());
1011
expect(result).toMatchSnapshot();
1112
});

0 commit comments

Comments
 (0)