style: format navigation tests
This commit is contained in:
@@ -53,8 +53,20 @@ describe('useBrowserPathname', () => {
|
||||
});
|
||||
|
||||
it.each([
|
||||
['target window', <a href="/automation" target="_blank">Excluded</a>, {}],
|
||||
['download', <a href="/automation" download>Excluded</a>, {}],
|
||||
[
|
||||
'target window',
|
||||
<a href="/automation" target="_blank">
|
||||
Excluded
|
||||
</a>,
|
||||
{},
|
||||
],
|
||||
[
|
||||
'download',
|
||||
<a href="/automation" download>
|
||||
Excluded
|
||||
</a>,
|
||||
{},
|
||||
],
|
||||
['external origin', <a href="https://example.com/automation">Excluded</a>, {}],
|
||||
['hash-only navigation', <a href="/fleet#cards">Excluded</a>, {}],
|
||||
['middle click', <a href="/automation">Excluded</a>, { button: 1 }],
|
||||
|
||||
Reference in New Issue
Block a user