NODE_ENV not working

I’m curently in the Integration Testing section of Node.js and when ever I type NODE_ENV=test node index.js` I get this error that says:
NODE_ENV' is not recognized as an internal or external command, operable program or batch file.

Is anyone else getting this error? What’s the alternative?

Hey everyone, I found a solution. Check it out!