index.js 114 B

123456
  1. const Mock = require('better-mock/dist/mock.mp.js')
  2. Mock.mock('api/test', {
  3. data: [{
  4. num: 1
  5. }]
  6. })