| 1234567891011121314 |
- const fs = require('fs')
- const path = require('path')
- test('report pages use the unified PERILL enterprise assessment name', () => {
- const reportSources = [
- 'src/components/reportPdf/pdf2.vue',
- 'src/components/reportPdf/pdfUser2.vue'
- ].map(file => fs.readFileSync(path.resolve(__dirname, '../../', file), 'utf8'))
- reportSources.forEach(source => {
- expect(source).toContain('PERILL倍力企业六维评估')
- expect(source).not.toContain('PERILL团队发展动态评估')
- })
- })
|