Register Heimdall access discovery documents
This commit is contained in:
parent
0d9fd12628
commit
255394f28a
2 changed files with 56 additions and 0 deletions
23
test/heimdall-discovery-documents.test.cjs
Normal file
23
test/heimdall-discovery-documents.test.cjs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
"use strict";
|
||||
|
||||
const assert = require("node:assert/strict");
|
||||
const test = require("node:test");
|
||||
|
||||
const { defineOdinDocuments } = require("../src/odin/documents.cjs");
|
||||
|
||||
test("Odin registers the typed Heimdall access discovery documents", () => {
|
||||
const documents = defineOdinDocuments((definition) => definition);
|
||||
|
||||
assert.equal(
|
||||
documents.evePluginAdvertisementDefinition.schemaId,
|
||||
"gamecult.eve.plugin_advertisement.v1",
|
||||
);
|
||||
assert.equal(
|
||||
documents.heimdallCommandBoundaryDefinition.schemaId,
|
||||
"heimdall.command_boundary.v1",
|
||||
);
|
||||
assert.equal(
|
||||
documents.heimdallTransportProfileDefinition.schemaId,
|
||||
"heimdall.transport_profile.v1",
|
||||
);
|
||||
});
|
||||
Loading…
Reference in a new issue