Files
github-stats-extended/backend/tests/setup.jest.js
T
martin-mfg a28a417e88 fix tests, add CI, fix on mac, extend docs (#25)
* tests: fix float problems and PAT problem

* extend CONTRIBUTING.md

* extend build documentation, add GH action, fix build on MacOS

* fix build on Vercel

* update .gitignore and CONTRIBUTING.md

* fix all tests

* add backend tests to CI

* make e2e tests work

* add debug log to e2e test

* ignore copied tests in CI
2026-01-19 20:52:26 +01:00

8 lines
217 B
JavaScript

//https://stackoverflow.com/a/68468204/1643179
import { TextEncoder, TextDecoder } from "util";
Object.assign(global, { TextDecoder, TextEncoder });
process.env.PAT_1 = "dummyPAT1";
process.env.PAT_2 = "dummyPAT2";