chore(react): fix e2e test that checks for vendor sourcemap (#4109)
- No longer check "sourceMappingURL" in content, but check existence of 'vendor.js.map' in dist
This commit is contained in:
parent
96c3b2effc
commit
b73636a419
@ -65,9 +65,7 @@ describe('React Applications', () => {
|
||||
});
|
||||
|
||||
runCLI(`build ${appName}`);
|
||||
vendorContent = readFile(`dist/apps/${appName}/vendor.js`);
|
||||
|
||||
expect(vendorContent).toMatch(/sourceMappingURL/);
|
||||
checkFilesExist(`dist/apps/${appName}/vendor.js.map`);
|
||||
}, 120000);
|
||||
|
||||
it('should be able to generate a publishable react lib', async () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user