Define npm test task