Skip to content

Commit 5ac555d

Browse files
committed
testing
1 parent 6c84244 commit 5ac555d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

unit-testing/studio/tests/launchcode.test.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const launchcode = require('../index.js');
44
describe ("Testing launchcode", function(){
55

66
// Write your unit tests here!
7-
test("testing launchcode", function(){
7+
test("testing launchcode", function(){``
88
expect(launchcode.organization).toBe("nonprofit");
99
});
1010
test("checks Executive Director", function(){
@@ -19,5 +19,10 @@ test("checks programs", function(){
1919
expect(launchcode.programsOffered).toContain("Liftoff");
2020
expect(launchcode.programsOffered.length).toBe(3);
2121
})
22-
2322
});
23+
24+
describe ("Testing launchoutput", function(){
25+
test("When passed a number that is ONLY divisible by 2, launchOutput() returns 'Launch!'", function(){
26+
expect(launchOutput).toBe("Launch")
27+
})
28+
// cn you see me?

0 commit comments

Comments
 (0)