Merge pull request #13927 from sennyeya/NewCliOptionsPublicPathAndBackendUrl

Update AppManager to Allow for Multiple Stages with a Single Build
This commit is contained in:
Patrik Oldsberg
2022-12-06 14:05:17 +01:00
committed by GitHub
8 changed files with 200 additions and 6 deletions
@@ -24,7 +24,12 @@ const anyEnv = (process.env = { ...process.env }) as any;
describe('DevAppBuilder', () => {
it('should be able to render a component in a dev app', async () => {
anyEnv.APP_CONFIG = [
{ context: 'test', data: { app: { title: 'Test App' } } },
{
context: 'test',
data: {
app: { title: 'Test App' },
},
},
];
const MyComponent = () => {