File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
unit-testing/studio/tests Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const launchcode = require('../index.js');
4
4
describe ( "Testing launchcode" , function ( ) {
5
5
6
6
// Write your unit tests here!
7
- test ( "testing launchcode" , function ( ) {
7
+ test ( "testing launchcode" , function ( ) { ``
8
8
expect ( launchcode . organization ) . toBe ( "nonprofit" ) ;
9
9
} ) ;
10
10
test ( "checks Executive Director" , function ( ) {
@@ -19,5 +19,10 @@ test("checks programs", function(){
19
19
expect ( launchcode . programsOffered ) . toContain ( "Liftoff" ) ;
20
20
expect ( launchcode . programsOffered . length ) . toBe ( 3 ) ;
21
21
} )
22
-
23
22
} ) ;
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?
You can’t perform that action at this time.
0 commit comments