Skip to content

Commit d97a269

Browse files
chore(TestingExpect): import "jasmine".
1 parent aebca1d commit d97a269

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lib/testing-expect.class.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {} from "jasmine";
12
// @angular-package/type.
23
import { is } from '@angular-package/type';
34
// Type.
@@ -45,13 +46,13 @@ export class TestingExpect {
4546
e = expectationFailOutput
4647
? expect(actual).withContext(expectationFailOutput)
4748
: expect(actual)
48-
): jasmine.Matchers<typeof actual> {
49+
): jasmine.Matchers<ExpectType<T>> {
4950
return is.true(this.#not) ? e.not : e;
5051
}
5152

5253
protected expectation<T>(
5354
actual: ExpectType<T>,
54-
callbackfn: (matchers: jasmine.Matchers<typeof actual>) => any,
55+
callbackfn: (matchers: jasmine.Matchers<ExpectType<T>>) => any,
5556
expectationFailOutput?: any,
5657
): this {
5758
callbackfn && callbackfn(this.expect(actual, expectationFailOutput));

0 commit comments

Comments
 (0)