Files
speaking-practice/tests/home-entry-link.test.mjs
T
TTlaji 67dcea21d0
Deploy Speaking Practice / deploy (push) Successful in 2m13s
style: polish responsive typography and transcript states
2026-06-09 22:56:57 +08:00

13 lines
409 B
JavaScript

import assert from "node:assert/strict";
import { readFileSync } from "node:fs";
import { fileURLToPath } from "node:url";
import { dirname, join } from "node:path";
const __dirname = dirname(fileURLToPath(import.meta.url));
const html = readFileSync(join(__dirname, "..", "index.html"), "utf8");
assert.equal(
html.includes('<a class="primary-link" href="./study.html">进入学习页</a>'),
false,
);