diff --git a/index.js b/index.js index 8151607..5baaf1f 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ -var name = "Joe" -var height = "74" +var name = "Susan" +var height = "70" // Don't worry about this diff --git a/other_file.js b/other_file.js index 3759417..e121288 100644 --- a/other_file.js +++ b/other_file.js @@ -1 +1,9 @@ -console.log(name) +var index = require("./index.js") + +console.log(index.name) + + + + + + diff --git a/tests.js b/tests.js index 8da77d0..ff20162 100644 --- a/tests.js +++ b/tests.js @@ -5,10 +5,10 @@ if (index.name === "Susan") { } else { console.log("Expected: Susan, Received: "+index.name) } +var index = require("./index.js") - -if (index.height === 70) { +if (index.height === "70") { console.log("The height is correct") } else { console.log("Expected: 70, Received: "+index.height)