Added API tests + added vitest.config.ts + added fallback of window.fetch with xmlhttprequest
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Eric NGUYEN 2022-08-03 16:03:39 +02:00
parent 0bf6b173f4
commit 05e9013c3b
8 changed files with 64 additions and 85 deletions

View file

@ -6,6 +6,8 @@ steps:
- name: test
image: node:16
commands:
- curl https://bun.sh/install | bash
- bun run ../test-server.js
- npm install
- npm test
@ -17,5 +19,7 @@ steps:
- name: test
image: node
commands:
- curl https://bun.sh/install | bash
- bun run ../test-server.js
- npm install
- npm test