Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@
"source.organizeImports": "always"
},
"files.eol": "\n",
"typescript.tsdk": "node_modules/typescript/lib"
"js/ts.experimental.useTsgo": true,
"js/ts.tsdk.path": "./node_modules/@typescript/native"
}
3,243 changes: 1,226 additions & 2,017 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@js-soft/eslint-config-ts": "2.0.16",
"@js-soft/license-check": "1.0.17",
"@types/node": "26.6.6",
"@typescript/native": "npm:typescript@^7.0.2",
"@vitest/coverage-v8": "5.1.0",
"@vitest/eslint-plugin": "1.6.28",
"dependency-cruiser": "18.7.2",
Expand All @@ -40,7 +41,7 @@
"prettier": "3.10.1",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "6.0.3",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"vitest": "5.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/app-runtime/test/modules/SSEModule.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MockEventBus } from "../lib/MockEventBus";
// eslint-disable-next-line vitest/no-disabled-tests -- disabled because the Backbone currently isn't performant enough in the CI
describe.skip("SSEModuleTest", function () {
const eventBus = new MockEventBus();
// Note: even when skipped, Jest executes top-level imports.
// Note: even when skipped, Vitest executes top-level imports.
// Keep runtime-heavy imports lazy to avoid teardown-time libsodium init errors.
let testUtil: typeof import("../lib/TestUtil").TestUtil;

Expand Down
6 changes: 3 additions & 3 deletions packages/runtime/test/lib/AdminApiClient.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { LanguageISO639 } from "@nmshd/core-types";
import axios, { Axios } from "axios";
import axios, { AxiosInstance } from "axios";
import { AnnouncementSeverity } from "../../src";

let adminClient: Axios | undefined;
let adminClient: AxiosInstance | undefined;

export async function getBackboneAdminApiClient(): Promise<Axios> {
export async function getBackboneAdminApiClient(): Promise<AxiosInstance> {
if (adminClient) return adminClient;

const adminAPIBaseUrl = process.env.NMSHD_TEST_BASEURL_ADMIN_API!;
Expand Down
6 changes: 3 additions & 3 deletions packages/transport/test/testHelpers/AdminApiClient.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { LanguageISO639 } from "@nmshd/core-types";
import axios, { Axios } from "axios";
import axios, { AxiosInstance } from "axios";
import { AnnouncementSeverity } from "../../src/modules/announcements/data/Announcement";

export class AdminApiClient {
private static adminClient: Axios | undefined;
private static adminClient: AxiosInstance | undefined;

public static async getBackboneAdminApiClient(): Promise<Axios> {
public static async getBackboneAdminApiClient(): Promise<AxiosInstance> {
if (AdminApiClient.adminClient) {
return AdminApiClient.adminClient;
}
Expand Down
1 change: 1 addition & 0 deletions packages/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"noImplicitOverride": true,
"useDefineForClassFields": false,
"lib": ["ES2022", "DOM"],
"types": ["node"],
"composite": true
}
}