feat: Add unit-tests #25

Merged
timharek merged 31 commits from feature-testing into main 2024-04-11 19:10:16 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 2c6d135be7 - Show all commits

View File

@ -2,15 +2,15 @@ import openapiTS from "openapi-typescript";
const nrkTypes: { filename: string; url: URL }[] = [ const nrkTypes: { filename: string; url: URL }[] = [
{ {
filename: "./lib/nrk-search.ts", filename: "./lib/nrk/nrk-search.ts",
url: new URL("https://psapi.nrk.no/documentation/openapi/search-radio/v1/openapi.yml"), url: new URL("https://psapi.nrk.no/documentation/openapi/search-radio/v1/openapi.yml"),
}, },
{ {
filename: "./lib/nrk-catalog.ts", filename: "./lib/nrk/nrk-catalog.ts",
url: new URL("https://psapi.nrk.no/documentation/openapi/programsider-radio/openapi.yml"), url: new URL("https://psapi.nrk.no/documentation/openapi/programsider-radio/openapi.yml"),
}, },
{ {
filename: "./lib/nrk-playback.ts", filename: "./lib/nrk/nrk-playback.ts",
url: new URL("https://psapi.nrk.no/documentation/openapi/playback/2.0/openapi.json"), url: new URL("https://psapi.nrk.no/documentation/openapi/playback/2.0/openapi.json"),
}, },
] as const; ] as const;