File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import schema from "../../../generated/api-schema" ;
22import { ExecuteResultFail , type MilkioApp } from ".." ;
3- import { cwd } from "node:process" ;
43import chalk from "chalk" ;
54import { handleCatchError } from "../utils/handle-catch-error.ts" ;
65
76export const executeApiTests = async < Path extends Array < keyof ( typeof schema ) [ "apiTestsSchema" ] > > ( app : MilkioApp , path : Path | string | true | 1 | undefined ) => {
8- console . log ( `${ chalk . hex ( "#81C7D4" ) ( `🧊 test running on` ) } ${ chalk . hex ( "#999A9E" ) . underline ( cwd ( ) ) } ` ) ;
7+ console . log ( `${ chalk . hex ( "#81C7D4" ) ( `🧊 test running` ) } ` ) ;
98
109 let pathArr = [ ] as Array < string > ;
1110 if ( ! path || path === "1" || path === 1 || path === true ) {
Original file line number Diff line number Diff line change 22 "name" : " milkio" ,
33 "type" : " module" ,
44 "module" : " index.ts" ,
5- "version" : " 0.5.2 " ,
5+ "version" : " 0.6.0-alpha.1 " ,
66 "peerDependencies" : {
77 "typescript" : " ^5.4.2"
88 },
You can’t perform that action at this time.
0 commit comments