mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Expect.js commonjs modules support and tests
This commit is contained in:
@@ -28,7 +28,7 @@ function test_expect_properties() {
|
||||
expect(0).to.not.include;
|
||||
expect(0).to.not.only.have.own;
|
||||
expect(0).to.only.have.own;
|
||||
expect(0).be
|
||||
expect(0).be;
|
||||
}
|
||||
|
||||
function test_ok() {
|
||||
@@ -118,4 +118,4 @@ function test_lessThan() {
|
||||
function test_fail() {
|
||||
expect().fail();
|
||||
expect().fail('Custom failure message');
|
||||
}
|
||||
}
|
||||
6
expect.js/expect.js.d.ts
vendored
6
expect.js/expect.js.d.ts
vendored
@@ -214,3 +214,9 @@ declare module Expect {
|
||||
own: Assertion;
|
||||
}
|
||||
}
|
||||
|
||||
declare module "expect.js" {
|
||||
|
||||
export = expect;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user