Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Ajay Kumar Shukla ajay25487

🎯
Focusing
Block or report user

Report or block ajay25487

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ajay25487
ajay25487 / login.test.js
Created Mar 14, 2018 — forked from joaoneto/login.test.js
Login session test with mocha
View login.test.js
var request = require('supertest'),
should = require('should'),
app = require('../server');
var Cookies;
describe('Functional Test <Sessions>:', function () {
it('should create user session for valid user', function (done) {
request(app)
.post('/v1/sessions')
You can’t perform that action at this time.