diff --git a/.env.test b/.env.test new file mode 100644 index 0000000..14f66f5 --- /dev/null +++ b/.env.test @@ -0,0 +1,9 @@ +LOG_LEVEL=debug +TS3_HOST=fake +TS3_USERNAME=fake +TS3_PASSWORD=fake +TS3_NICKNAME=fake +GOTIFY_URL=https://example.com +GOTIFY_TOKEN=fake +GOTIFY_TITLE=fake +MODE='[]' diff --git a/package.json b/package.json index 79ae424..0be6eef 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "build": "bun build --minify --target bun --outdir dist --sourcemap src/app.ts", "check:code": "eslint src/ --ext .ts", "check:spell": "cspell --config cspell.code.json **/*.ts", - "test:unit": "bun test", + "test:unit": "NODE_ENV=test bun test", "start": "bun run src/app.ts" }, "devDependencies": {