Lines Matching refs:exp
182 let exp = require(path.join(currDir, file));
195 if (typeof exp.before == 'function') {
198 createTask('before', exp.before);
202 for (let p in exp) {
208 if (typeof exp.beforeEach == 'function') {
211 createTask(p + '_beforeEach', exp.beforeEach);
218 createTask(p, exp[p]);
220 if (typeof exp.afterEach == 'function') {
223 createTask(p + '_afterEach', exp.afterEach);
228 if (typeof exp.after == 'function') {
231 let afterTask = createTask('after', exp.after);