Last active
November 15, 2016 19:10
-
-
Save stbaer/8168063 to your computer and use it in GitHub Desktop.
Meteor tinytest api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test.isFalse(v, msg) | |
test.isTrue(v, msg) | |
test.equal(actual, expected, message, not) | |
test.length(obj, len) | |
test.include(s, v) | |
test.isNaN(v, msg) | |
test.isUndefined(v, msg) | |
test.isNotNull | |
test.isNull | |
test.throws(func) | |
test.instanceOf(obj, klass) | |
test.notEqual(actual, expected, message) | |
test.runId() | |
test.exception(exception) | |
test.expect_fail() | |
test.ok(doc) | |
test.fail(doc) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It lacks this one :
test.isNotUndefined(actual, msg)
(I'm new to Gist, but I think there is now way to create PR, right ?)