ant-design/tests/dekko/dist.test.js

16 lines
374 B
JavaScript
Raw Normal View History

const $ = require('dekko');
2018-12-23 17:45:31 +08:00
const chalk = require('chalk');
$('dist')
.isDirectory()
.hasFile('antd-with-locales.js')
.hasFile('antd-with-locales.min.js')
.hasFile('antd.css')
.hasFile('antd.min.css')
.hasFile('antd.js')
.hasFile('antd.min.js')
.hasFile('antd.less');
2016-12-11 14:01:14 +08:00
// eslint-disable-next-line
2018-12-23 17:45:31 +08:00
console.log(chalk.green('✨ `dist` directory is valid.'));