Skip to content

Commit

Permalink
Fixed testsuite
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Dec 4, 2023
1 parent 4c0fcc3 commit f453560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/core/LogsButton.test.jsx
Expand Up @@ -119,7 +119,7 @@ describe("LogsButton", () => {
// And test what we're looking for
expect(document.createElement).toHaveBeenCalledWith('a');
expect(anchorMock).toHaveAttribute("href", "fake-blob-url");
expect(anchorMock).toHaveAttribute("download", expect.stringMatching(/y2logs/));
expect(anchorMock).toHaveAttribute("download", expect.stringMatching(/agama-installation-logs/));
expect(anchorMock.click).toHaveBeenCalled();

// Be polite and restore document.createElement function,
Expand Down

0 comments on commit f453560

Please sign in to comment.