diff --git a/__tests__/build-cases/with-rax-pha.test.ts b/__tests__/build-cases/with-rax-pha.test.ts index c025be96..025a9649 100644 --- a/__tests__/build-cases/with-rax-pha.test.ts +++ b/__tests__/build-cases/with-rax-pha.test.ts @@ -8,6 +8,8 @@ buildFixture(example, true); describe('should build manifest.json: ', () => { test('manifest.json content', async () => { + + console.log(123) const manifestJSON = fs.readJSONSync(path.join(process.cwd(), 'examples', example, 'build/web/manifest.json')); console.log('manifestJSON=', manifestJSON) expect(manifestJSON).toEqual({ @@ -36,7 +38,30 @@ describe('should build manifest.json: ', () => { custom: true, list: ['home', 'about-single'], source: '/components/CustomTabBar/index', - html: "\n \n \n \n \n \n \n \n\n\n PHA Demo\n \n \n\n \n \n \n
\n \n\n\n \n \n\n \n \n", + html: '\n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + ' \n' + + '\n' + + ' PHA Demo\n' + + ' \n' + + ' \n' + + '\n' + + ' \n' + + ' \n' + + ' \n' + + '
\n' + + ' \n' + + '\n' + + ' \n' + + ' \n' + + '\n' + + ' \n' + + ' \n' }, title: 'PHA Demo', });