Skip to content

Commit

Permalink
Fix testing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaschka committed Sep 9, 2024
1 parent 5434c2e commit c04cefa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"run": "deno run --unstable-kv -A main.ts",
"test": "DATA_DIR=data-test ASN_PREFIX=ASN ASN_NAMESPACE_RANGE=50 ASN_ENABLE_NAMESPACE_EXTANSION=1 deno test --unstable-kv -A",
"docs": "deno doc --unstable-kv --reload --html main.ts",
"lint": "deno lint && deno doc --lint main.ts",
"check": "deno check main.ts",
"lint": "deno lint && deno doc --lint main.ts lib/*/mod.ts",
"check": "deno check main.ts lib/**/*.ts",
"version": "deno run --allow-read=. --allow-write=. --allow-run=git jsr:@utility/version"
},
"imports": {
Expand Down
2 changes: 2 additions & 0 deletions lib/common/additional-managed-namespaces.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ const TEST_CONFIG: Config = {
ADDITIONAL_MANAGED_NAMESPACES: [],
ASN_LOOKUP_INCLUDE_PREFIX: false,
ASN_BARCODE_TYPE: "",
DATA_DIR: "",
DB_FILE_NAME: ""
};

Deno.test("serializeAdditionalManagedNamespace", () => {
Expand Down
2 changes: 2 additions & 0 deletions lib/common/asn.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ const TEST_CONFIG: Config = {
ASN_ENABLE_NAMESPACE_EXTENSION: true,
ASN_LOOKUP_INCLUDE_PREFIX: true,
ASN_BARCODE_TYPE: "",
DATA_DIR: "",
DB_FILE_NAME: ""
};

Deno.test("nthNinerExtensionRange()", async (t) => {
Expand Down
2 changes: 2 additions & 0 deletions lib/common/namespaces.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ const TEST_CONFIG: Config = {
ASN_ENABLE_NAMESPACE_EXTENSION: true,
ASN_LOOKUP_INCLUDE_PREFIX: true,
ASN_BARCODE_TYPE: "",
DATA_DIR: "",
DB_FILE_NAME: ""
};

Deno.test("getMaximumGenericRangeNamespace()", () => {
Expand Down

0 comments on commit c04cefa

Please sign in to comment.