Fix that bug

This commit is contained in:
Mitya Kononchuk
2017-11-14 17:55:41 +01:00
parent a01c214f1d
commit 76d8a28714
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ declare function expect<T>(actual: ArrayLike<T>): jasmine.ArrayLikeMatchers<T>;
* Create an expectation for a spec.
* @param actual Actual computed value to test expectations against.
*/
declare function expect<T>(actual?: T): jasmine.Matchers<T>;
declare function expect<T>(actual: T): jasmine.Matchers<T>;
/**
* Explicitly mark a spec as failed.
+1 -1
View File
@@ -672,7 +672,7 @@ describe("Multiple spies, when created manually", () => {
describe("jasmine.nothing", () => {
it("matches any value", () => {
expect().nothing();
expect("s").nothing();
});
});