Commit 2c28ba7 1 parent fc92009 commit 2c28ba7 Copy full SHA for 2c28ba7
File tree 2 files changed +19
-2
lines changed
2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,13 @@ jobs:
22
22
uses : actions/setup-node@v4
23
23
with :
24
24
node-version : 22
25
- - name : Install, test
25
+ cache : pnpm
26
+ - name : Install dependencies
26
27
run : |
27
28
pnpm install
28
29
pnpm add concurrently
29
- pnpm concurrently "pnpm test" "pnpm typecheck" "pnpm lint"
30
+ - name : Test
31
+ run : pnpm concurrently "pnpm test" "pnpm typecheck" "pnpm lint"
30
32
env :
31
33
ACCESS_KEY : ${{ secrets.ACCESS_KEY }}
32
34
SECRET_KEY : ${{ secrets.SECRET_KEY }}
Original file line number Diff line number Diff line change @@ -26,6 +26,21 @@ import {
26
26
const clientIds = [ 0 , 1 ] as const ;
27
27
let clientDirectories : Record < number , string > ;
28
28
29
+ const originalIt = it ;
30
+ // @ts -expect-error
31
+ globalThis . it = ( name : string , fn : ( ) => Promise < void > , timeout ?: number ) => {
32
+ originalIt (
33
+ name ,
34
+ async function ( ) {
35
+ process . stdout . write ( `===========================================\n` ) ;
36
+ process . stdout . write ( `${ name } \n` ) ;
37
+ process . stdout . write ( `===========================================\n` ) ;
38
+ return await fn ( ) ;
39
+ } ,
40
+ timeout ,
41
+ ) ;
42
+ } ;
43
+
29
44
describe ( "E2E Tests" , ( ) => {
30
45
beforeAll ( async ( ) => {
31
46
await startServer ( ) ;
You can’t perform that action at this time.
0 commit comments