mirror of
https://github.com/hanzoai/bot-railway-template.git
synced 2026-10-30 18:46:40 +00:00
10 lines
319 B
JavaScript
10 lines
319 B
JavaScript
import test from "node:test";
|
|
import assert from "node:assert/strict";
|
|
import fs from "node:fs";
|
|
|
|
test("debug JSON includes lastDoctor fields", () => {
|
|
const src = fs.readFileSync(new URL("../src/server.js", import.meta.url), "utf8");
|
|
assert.match(src, /lastDoctorOutput/);
|
|
assert.match(src, /lastDoctorAt/);
|
|
});
|