Issue with tests in Lodash Challenge

Hi there,

I’m currently on the Lodash challenge at the end of the JavaScript: Arrays, Loops, and Objects segment of the web developer path. There are a package of tests provided which are to be used upon completing each segment. However, the instructions provided: "in the console, run 'node test/[test name].js, don’t seem to work. I’ve attempted to run these in both the Codecademy environment and my own IDE, and it’s throwing an error on each:

ReferenceError: _ is not defined
at Object. (/Users/beeks/devProjects/Lodash/lodash/_.js:7:18)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:849:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/Users/beeks/devProjects/Lodash/lodash/test/lodash.js:1:11)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:973:10)

I haven’t changed any files, so I’m not sure why none of the test files would work. Anyone else running into this?



Have you read the error message?

What I included in my comment? Yes. But I’m pretty new to all this, so it didn’t make any sense to me.

Isn’t _ what your code should define, and isn’t that your file?

It makes sense to you. But you can’t gloss over it.