- add a few tests - re-organize tests to allow testing with different env vars and creating a combined coverage report - extract test data into separate files, because importing data from testA in testB leads to weird jest errors - remove `dotenv` because it's not being used - "GitHub Trends" -> "GitHub Stats Extended"
8 lines
217 B
JavaScript
8 lines
217 B
JavaScript
import { TextDecoder, TextEncoder } from "util";
|
|
|
|
//https://stackoverflow.com/a/68468204/1643179
|
|
Object.assign(global, { TextDecoder, TextEncoder });
|
|
|
|
process.env.PAT_1 = "dummyPAT1";
|
|
process.env.PAT_2 = "dummyPAT2";
|