UNPKG

egg-old-pay

Version:

sandan store pay inclued wechat alipay vista

24 lines (19 loc) 412 B
'use strict'; const mock = require('egg-mock'); describe('test/sandan-pay.test.js', () => { let app; before(() => { app = mock.app({ baseDir: 'apps/sandan-pay-test', }); return app.ready(); }); after(() => app.close()); afterEach(mock.restore); it('should GET /', () => { return app.httpRequest() .get('/') .expect('hi, sandanPay') .expect(200); }); });