Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FossPrime authored Sep 26, 2023
1 parent dc75ac6 commit a1b3584
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"dev:client": "VITE_SSG=off vite",
"dev:server": "npx tsx watch --clear-screen=false server/index.ts",
"preview": "vite preview",
"test:server": "npx typescript --noEmit && npx vitest run",
"test:client": "npx typescript --noEmit",
"test:server": "npx tsc --noEmit && npx vitest run",
"test:client": "npx tsc --noEmit",
"build": "tsc && vite build --outDir dist/client",
"bundle:client": "tsc --declaration --outDir dist/server src/services/*/*.schema.ts",
"install": "npm run bundle:client",
"start": "npx tsx server/index.ts",
"update": "npx npm-check-updates -u",
"i": "ls node_modules &> /dev/null || npm i",
"force-checkout": "npx g4c checkout --force HEAD",
"switch-to-javascript-mode": "npx typescript -p tsconfig.node.json"
"switch-to-javascript-mode": "npx tsc -p tsconfig.node.json"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -45,7 +45,7 @@
"devDependencies": {
"@types/cors": "^2.8.12",
"@types/jsonwebtoken": "^8.5.8",
"feathers-vite": "~1.2.2",
"feathers-vite": "~1.2.7",
"node-fetch": "^3.2.9",
"typescript": "^5.1.3",
"vite": "4.2.0"
Expand Down
2 changes: 1 addition & 1 deletion test/app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Server } from 'http'
import fetch from 'node-fetch'
import { URL } from 'node:url'

import { main } from '../api/app.js'
import { main } from '../src/app.js'

const port = '' + 8998
const getUrl = (pathname?: string) => {
Expand Down

0 comments on commit a1b3584

Please sign in to comment.