Skip to content

Commit

Permalink
chore: add test
Browse files Browse the repository at this point in the history
  • Loading branch information
v.potekhin committed Dec 5, 2023
1 parent 44b4663 commit e7efc50
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions projects/ng-polymorpheus/src/tests/outlet.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,13 @@ describe('PolymorpheusOutlet', () => {
);
});

it('Directive static type check exists', () => {
// @ts-ignore
expect(PolymorpheusTemplate.ngTemplateContextGuard({polymorpheus: {}})).toBe(
true,
);
});

describe('Primitive', () => {
it('Works with strings', () => {
testComponent.content = 'string';
Expand Down

0 comments on commit e7efc50

Please sign in to comment.