mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
first round of tests...
This commit is contained in:
29
test/example.js
Normal file
29
test/example.js
Normal file
@@ -0,0 +1,29 @@
|
||||
$(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" );
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user