@fedify/vocab 2.2.0-dev.613 → 2.2.0-dev.622

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- globalThis.addEventListener = () => {};
4
-
5
- import { Person } from "./vocab-C_RGw_Hf.js";
6
- import { getTypeId } from "./type-CNuABalk.js";
7
- import { test } from "@fedify/fixture";
8
- import { deepStrictEqual } from "node:assert/strict";
9
-
10
- //#region src/type.test.ts
11
- test("getTypeId()", () => {
12
- const obj = new Person({});
13
- deepStrictEqual(getTypeId(obj), new URL("https://www.w3.org/ns/activitystreams#Person"));
14
- const obj2 = null;
15
- deepStrictEqual(getTypeId(obj2), null);
16
- const obj3 = void 0;
17
- deepStrictEqual(getTypeId(obj3), void 0);
18
- const obj4 = null;
19
- deepStrictEqual(getTypeId(obj4), null);
20
- const obj5 = void 0;
21
- deepStrictEqual(getTypeId(obj5), void 0);
22
- });
23
-
24
- //#endregion