Skip to content

Commit 880985a

Browse files
shrikha56claude
andcommitted
fix(signage-manager): update tests for ts-client API-based services
Update test suites to work with the refactored services that use ts-client HTTP calls instead of localStorage mocks. Mock OrganisationService and ToastService via Angular DI providers, mock ts-client get/post/put/del, and remove obsolete localStorage/cache tests. Add suneditor to Jest transformIgnorePatterns to fix ESM parsing. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 8345ccc commit 880985a

File tree

4 files changed

+245
-541
lines changed

4 files changed

+245
-541
lines changed

apps/signage-manager/jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default {
1212
},
1313
],
1414
},
15-
transformIgnorePatterns: ['node_modules/(?!.*\\.mjs$)'],
15+
transformIgnorePatterns: ['node_modules/(?!.*\\.mjs$|suneditor)'],
1616
snapshotSerializers: [
1717
'jest-preset-angular/build/serializers/no-ng-attributes',
1818
'jest-preset-angular/build/serializers/ng-snapshot',

0 commit comments

Comments
 (0)