generateMock.js 179 Bytes
Newer Older
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
1 2
const generateMock = require('merge-umi-mock-data');
const path = require('path');
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
3
generateMock(path.join(__dirname, '../mock'), path.join(__dirname, '../lambda/mock/index.js'));