Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const rewire = require("rewire");
- const {expect} = require('chai');
- const {stub} = require('sinon');
- const friendsController = rewire('../../../../../controllers/friendsController');
- describe('Invite Friend controller test', function () {
- let req;
- let res;
- beforeEach(function () {
- res = {
- send: stub()
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement