mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-23 03:42:04 +03:00
9 lines
250 B
JavaScript
9 lines
250 B
JavaScript
var assert = require("assert");
|
|
const { toPathPattern } = require("../src/route-codegen-helpers.js");
|
|
|
|
describe("toPathPattern", function () {
|
|
it("index is normalized", function () {
|
|
assert.strictEqual(toPathPattern(["Index"]), "/");
|
|
});
|
|
});
|