| 123456789101112131415 |
- const assert = require('node:assert/strict')
- const fs = require('node:fs')
- const path = require('node:path')
- const source = fs.readFileSync(
- path.join(__dirname, '../pagesHome/components/report/generateList.vue'),
- 'utf8'
- )
- assert.match(source, />教练报告<\/view>/)
- assert.match(source, />团队报告<\/view>/)
- assert.doesNotMatch(source, />专业版<\/view>/)
- assert.doesNotMatch(source, />公开版<\/view>/)
- console.log('report button labels: PASS')
|