feat: add route javlibrary (#3797)

This commit is contained in:
junfengP
2020-02-01 19:46:32 +08:00
committed by GitHub
parent eec4fe626c
commit dae512feb9
14 changed files with 71 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
process.env.NODE_NAME = 'mock';
const supertest = require('supertest');
jest.mock('request-promise-native');
const server = require('../../lib/index');
const request = supertest(server);
const cheerio = require('cheerio');