ant-design/tests/dekko/dist.test.js
renovate[bot] 863f61d908
chore(deps): update dependency eslint to v9 (#50690)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00

17 lines
434 B
JavaScript

const $ = require('dekko');
const chalk = require('chalk');
$('dist')
.isDirectory()
.hasFile('antd-with-locales.js')
.hasFile('antd-with-locales.js.map')
.hasFile('antd-with-locales.min.js')
.hasFile('antd-with-locales.min.js.map')
.hasFile('antd.js')
.hasFile('antd.js.map')
.hasFile('antd.min.js')
.hasFile('antd.min.js.map')
.hasFile('reset.css');
console.log(chalk.green('✨ `dist` directory is valid.'));