npm run custom-tests - sendHttpRequest failed non200Response
问题 I'm trying to setup some SailsJS boilerplate I'm finding on the web. My code is below, I am thinking it is due to my config in routes where I set: 'GET /.temporary/csrf/token/for/tests': { action: 'security/grant-csrf-token' } I don't have any thing in api/controllers/ for security/grant-csrf-token , do I have to generate such a thing? const sails = require('sails'); before(function(done) { // Increase the Mocha timeout so that Sails has enough time to lift, even if you have a bunch of assets