Skip to content

Commit

Permalink
chore: don't expect space in title, undefined name
Browse files Browse the repository at this point in the history
Signed-off-by: Tim deBoer <git@tdeboer.ca>
  • Loading branch information
deboer-tim committed Oct 16, 2023
1 parent 602f2ab commit a1cbf7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -93,7 +93,7 @@ test('Expect to find PreferencesConnectionCreationRendering component if step in
});

const title = screen.getAllByRole('heading', { name: 'title' });
expect(title[0].textContent).equal('Create a Podman machine ');
expect(title[0].textContent).equal('Create a Podman machine');
});

test('Expect to find "not supported" message if step includes a component not supported by the provider', async () => {
Expand Down
Expand Up @@ -18,7 +18,7 @@ let providers: ProviderInfo[];
let providerInfo: ProviderInfo | undefined;
$: providerInfo;
let providerDisplayName: string;
let providerDisplayName: string | undefined;
$: providerDisplayName =
(providerInfo?.containerProviderConnectionCreation
? providerInfo?.containerProviderConnectionCreationDisplayName || undefined
Expand Down

0 comments on commit a1cbf7c

Please sign in to comment.