Created
August 16, 2013 08:49
-
-
Save ipeychev/6248320 to your computer and use it in GitHub Desktop.
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
(function(){ | |
var YUITest = require('yuitest'); | |
var testCase = new YUITest.TestCase({ | |
'this should work': function() { | |
YUITest.Assert.isTrue(6 === 6); | |
} | |
}); | |
YUITest.TestRunner.add(testCase); | |
YUITest.TestRunner.run(); | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running this via
$ yuitest test123
returns:
Total tests: 0, Failures: 0, Skipped: 0, Time: 0.001 seconds