8 lines
184 B
JavaScript
8 lines
184 B
JavaScript
const test = require('ava');
|
|
const path = require('path');
|
|
require(path.join(process.cwd(), 'production.js'));
|
|
|
|
test('first test', t => {
|
|
const indexModel = think.model('index');
|
|
})
|