fix: accept inferred road widths in workbench
This commit is contained in:
10
scripts/test-road-workbench.js
Normal file
10
scripts/test-road-workbench.js
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env node
|
||||
"use strict";
|
||||
|
||||
const assert = require("assert");
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
||||
const html = fs.readFileSync(path.join(__dirname, "workbench", "index.html"), "utf8");
|
||||
assert.match(html, /id="width" type="number" min="1" step="0\.01"/);
|
||||
console.log("road workbench tests passed");
|
||||
Reference in New Issue
Block a user