run npm install to generate a package lock

This commit is contained in:
sashinexists
2024-12-07 13:18:31 +11:00
parent e7d08a91b5
commit 23437d228e
2501 changed files with 290663 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { DeepObjectTree } from "@weborigami/async-tree";
import assert from "node:assert";
import { describe, test } from "node:test";
import * as jsonKeys from "../src/jsonKeys.js";
describe("jsonKeys", () => {
test("stringifies JSON Keys", async () => {
const tree = new DeepObjectTree({
about: {},
"index.html": "Home",
});
const json = await jsonKeys.stringify(tree);
assert.strictEqual(json, '["about/","index.html"]');
});
});