mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 22:25:36 +00:00
test: adapt unit tests to HealthChat fork customizations
This commit is contained in:
@@ -1688,8 +1688,9 @@ describe("<MatrixChat />", () => {
|
||||
await flushPromises();
|
||||
expect(Lifecycle.attemptDelegatedAuthLogin).toHaveBeenCalled();
|
||||
|
||||
// should just show the welcome screen
|
||||
await rendered.findByText("Welcome to Test");
|
||||
// should just show the welcome screen (wait for welcome page chrome render; HealthChat's
|
||||
// Welcome renders an EmbeddedPage body that does not load under jsdom, so assert on the chrome)
|
||||
await rendered.findByText("Powered by Matrix");
|
||||
expect(rendered.container).toMatchSnapshot();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user