diff --git a/src/App.tsx b/src/App.tsx index da989ac..a9066fb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -218,7 +218,7 @@ class App extends React.Component { onClick={() => this.ToggleSidebar()} buttonOnClick={(type: string) => this.AddContainer(type)} /> - + { onPropertyChange={(key: string, value: string) => this.OnPropertyChange(key, value)} selectContainer={(container: Container) => this.SelectContainer(container)} /> - + { this.state.MainContainer } @@ -243,6 +243,8 @@ class App extends React.Component { export async function fetchConfiguration(): Promise { const url = `${import.meta.env.VITE_API_URL}`; + // The test library cannot use the Fetch API + // @ts-ignore if (window.fetch) { return await fetch(url, { method: 'POST'