* feat(devkit): split create-empty-tree to different functions * chore(repo): apply migration for createEmptyTree * cleanup(misc): fix tests that migration misses
13 lines
344 B
TypeScript
13 lines
344 B
TypeScript
import path = require('path');
|
|
import json = require('./migrations.json');
|
|
|
|
const migrations = Object.entries(json.schematics);
|
|
|
|
describe('devkit migrations', () => {
|
|
it.each(migrations)('should have valid path: %s', (key, m) => {
|
|
expect(() =>
|
|
require.resolve(path.join(__dirname, `${m.factory}.ts`))
|
|
).not.toThrow();
|
|
});
|
|
});
|