mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
30 lines
582 B
JavaScript
30 lines
582 B
JavaScript
$(document).ready(function(){
|
|
|
|
test("a basic test example", function() {
|
|
ok( true, "this test is fine" );
|
|
var value = "hello";
|
|
equals( "hello", value, "We expect value to be hello" );
|
|
});
|
|
|
|
module("Module A");
|
|
|
|
test("first test within module", function() {
|
|
ok( true, "all pass" );
|
|
});
|
|
|
|
test("second test within module", function() {
|
|
ok( true, "all pass" );
|
|
});
|
|
|
|
module("Module B");
|
|
|
|
test("some other test", function() {
|
|
expect(2);
|
|
equals( true, false, "failing test" );
|
|
equals( true, true, "passing test" );
|
|
});
|
|
|
|
});
|
|
|
|
|