Skip to content

Handle multiple configuration types from learningpath-api backend #1295

Handle multiple configuration types from learningpath-api backend

Handle multiple configuration types from learningpath-api backend #1295

Triggered via push November 2, 2023 10:38
Status Failure
Total duration 58s
Artifacts

ci.yml

on: push
Unit tests
48s
Unit tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Unit tests: src/resolvers/folderResolvers.ts#L114
Type 'IMyNDLAUser' is not assignable to type 'GQLMyNdlaPersonalData'.
Unit tests: src/resolvers/folderResolvers.ts#L196
Type '(_: any, params: GQLMutationUpdatePersonalDataArgs, context: ContextWithLoaders) => Promise<IMyNDLAUser>' is not assignable to type 'Resolver<ResolverTypeWrapper<GQLMyNdlaPersonalData>, {}, any, RequireFields<GQLMutationUpdatePersonalDataArgs, "favoriteSubjects">>'.
Unit tests: src/resolvers/learningpathResolvers.ts#L51
Type 'string' is not assignable to type 'string[]'.
Unit tests
Process completed with exit code 2.