You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expectation: Running the tests with npm test works.
Actual: The test file highlighted.directive.spec.ts currently looks like this on master:
import{HighlightedDirective}from'./highlighted.directive';describe('HighlightedDirective',()=>{it('should create an instance',()=>{constdirective=newHighlightedDirective();expect(directive).toBeTruthy();});});
However, the only constructor of HighlightedDirective has a non-optional argument:
Expectation: Running the tests with
npm test
works.Actual: The test file
highlighted.directive.spec.ts
currently looks like this on master:However, the only constructor of
HighlightedDirective
has a non-optional argument:A similar problem exists with
ngx-useless.directive.spec.ts
andngx-useless.directive.ts
, here we're missing two parameters:For this reason, running
npm test
produces the following error message:The text was updated successfully, but these errors were encountered: