PureCode Software interview question

How do you test Node.js applications? Describe unit testing and integration testing approaches.