vercel analytics script on both pages; disable project SSO protection (was 404-ing visitors)
This commit is contained in:
1 parent
cc6a660729
commit
632d053de9
68 files changed
+5662
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
import { beforeEach } from 'vitest';
|
||||
import '@testing-library/jest-dom/vitest';
|
||||
|
||||
beforeEach(() => {
|
||||
if (typeof document === 'undefined') {
|
||||
return;
|
||||
}
|
||||
// reset dom before each test
|
||||
const html = document.getElementsByTagName('html')[0];
|
||||
if (html) {
|
||||
html.innerHTML = '';
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user