mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-30 02:48:01 +03:00
11 lines
379 B
JavaScript
11 lines
379 B
JavaScript
// This runs as JS because of https://github.com/tapjs/node-tap/issues/761
|
|
|
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
const { execSync } = require("child_process");
|
|
const path = require("path");
|
|
|
|
const assert = require("assert");
|
|
|
|
assert(process.env.NODE_ENV === "test", "NODE_ENV WAS NOT TEST, BAILING");
|
|
execSync(`ts-node ${path.join(__dirname, "./setup.ts")}`);
|