Fix test cases.

Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
This commit is contained in:
Aramis Sennyey
2022-11-29 17:05:22 -05:00
parent 5850ef9b84
commit 5e54743402
2 changed files with 12 additions and 3 deletions
@@ -81,7 +81,10 @@ describe.each(['beta', 'stable'])('react-router %s', rrVersion => {
configLoader: async () => [
{
context: 'test',
data: { app: { baseUrl: 'http://localhost/foo' } },
data: {
app: { baseUrl: 'http://localhost/foo' },
backend: { baseUrl: 'http://localhost' },
},
},
],
bindRoutes: () => {},
@@ -62,7 +62,10 @@ describe('AppManager', () => {
configLoader: async () => [
{
context: 'test',
data: { app: { baseUrl: 'http://localhost/foo' } },
data: {
app: { baseUrl: 'http://localhost/foo' },
backend: { baseUrl: 'http://localhost' },
},
},
],
});
@@ -94,7 +97,10 @@ describe('AppManager', () => {
configLoader: async () => [
{
context: 'test',
data: { app: { baseUrl: 'http://localhost/foo' } },
data: {
app: { baseUrl: 'http://localhost/foo' },
backend: { baseUrl: 'http://localhost' },
},
},
],
});