refactor(web): hide history connection status
This commit is contained in:
1 parent
34a47c053e
commit
f526257d9c
2 files changed
+13
-22
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import assert from "node:assert/strict";
|
||||
import { readFile } from "node:fs/promises";
|
||||
import test from "node:test";
|
||||
|
||||
const userHistoryPageSource = await readFile(
|
||||
new URL("../src/pages/UserHistoryPage.tsx", import.meta.url),
|
||||
"utf8",
|
||||
);
|
||||
|
||||
test("hides the temporary real-time connection status indicator", () => {
|
||||
assert.doesNotMatch(userHistoryPageSource, /실시간 연결됨/);
|
||||
assert.doesNotMatch(userHistoryPageSource, /refreshSocket\.connectionStatus/);
|
||||
});
|
||||
Reference in new issue
Block a user