All Questions
1 question
0
votes
1
answer
31
views
Test plain javascript file returning different objects
Is it possible to test the code below with Jasmine testing tool or any other npm module like rewire or similar?
const AuthValidatorDumb = require('./src/AuthValidatorDumb');
const AuthValidator = ...