feat: migrate v0.2 cloud web to TypeScript
This commit is contained in:
@@ -55,11 +55,15 @@ assert.ok(Array.isArray(liveBlockedJson.blockers));
|
||||
|
||||
const activeWebSource = [
|
||||
"web/hwlab-cloud-web/index.html",
|
||||
"web/hwlab-cloud-web/app.mjs",
|
||||
"web/hwlab-cloud-web/live-status.mjs",
|
||||
"web/hwlab-cloud-web/app.ts",
|
||||
"web/hwlab-cloud-web/app-device-pod.ts",
|
||||
"web/hwlab-cloud-web/app-conversation.ts",
|
||||
"web/hwlab-cloud-web/app-trace.ts",
|
||||
"web/hwlab-cloud-web/app-helpers.ts",
|
||||
"web/hwlab-cloud-web/live-status.ts",
|
||||
"web/hwlab-cloud-web/help.md"
|
||||
].map((file) => fs.readFileSync(path.resolve(repoRoot, file), "utf8")).join("\n");
|
||||
const distContract = fs.readFileSync(path.resolve(repoRoot, "web/hwlab-cloud-web/scripts/dist-contract.mjs"), "utf8");
|
||||
const distContract = fs.readFileSync(path.resolve(repoRoot, "web/hwlab-cloud-web/scripts/dist-contract.ts"), "utf8");
|
||||
|
||||
assert.match(activeWebSource, /Device Pod/u);
|
||||
assert.match(activeWebSource, /\/v1\/device-pods/u);
|
||||
|
||||
Reference in New Issue
Block a user