This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import chai from 'chai'; | |
import chaiHttp from 'chai-http'; | |
const should = chai.should(); | |
chai.use(chaiHttp); | |
let clinentToken; | |
describe('Comment test', () => { | |
clinentToken = res.body.token; | |
it('should created a comment', (done) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import chai from 'chai'; | |
import chaiHttp from 'chai-http'; | |
import server from '../index.js'; | |
chai.should(); | |
chai.use(chaiHttp); | |
let clinentToken; | |
describe('Tests for comments', () => { | |
it('should login ', (done) => { |