Skip to content

Commit c232042

Browse files
committed
move sleep utils to test-utils, workflow e2e tests
1 parent 9aa2a08 commit c232042

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed

__github__/workflows/e2e-tests.yaml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Run E2E Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
jobs:
13+
e2e-tests:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout Repository 📝
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: "20.x"
24+
cache: "yarn"
25+
26+
- name: Install Dependencies
27+
run: yarn install --frozen-lockfile
28+
29+
- name: Set Up Starship Infrastructure
30+
id: starship-infra
31+
uses: cosmology-tech/[email protected]
32+
with:
33+
config: configs/ci.yaml
34+
cli-version: 2.10.1
35+
36+
- name: Run E2E Tests
37+
run: yarn test

__tests__/simple-state.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import path from "path";
66
import fs from 'fs';
77
import { getSigningJsdClient, jsd } from 'jsdjs'
88
import { useChain, generateMnemonic } from 'starshipjs';
9-
import { sleep } from '../src/utils';
9+
import { sleep } from '../test-utils/sleep';
1010
import './setup.test';
1111

1212
describe('JSD tests', () => {
File renamed without changes.

0 commit comments

Comments
 (0)