Skip to content

Commit cb9cd74

Browse files
committed
🧊 fix: testing should not include the nodejs api
1 parent e5cf280 commit cb9cd74

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/milkio/api-test/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import schema from "../../../generated/api-schema";
22
import { ExecuteResultFail, type MilkioApp } from "..";
3-
import { cwd } from "node:process";
43
import chalk from "chalk";
54
import { handleCatchError } from "../utils/handle-catch-error.ts";
65

76
export 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) {

packages/milkio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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
},

0 commit comments

Comments
 (0)