summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/setupTests.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2023-08-18 13:59:11 -0700
committerMatthew Miller <matthew@millerti.me>2023-08-18 13:59:11 -0700
commita59634a1a9b0393622fb121fbe229132c01a2624 (patch)
treecb4eb3fdf778dfc88d6d389b609b1cef6ebb4b4d /packages/browser/src/setupTests.ts
parente0d32bd2a3a60b4b2fd96a2874eae3ad976483df (diff)
Use single-quotes and increase line width
Diffstat (limited to 'packages/browser/src/setupTests.ts')
-rw-r--r--packages/browser/src/setupTests.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/browser/src/setupTests.ts b/packages/browser/src/setupTests.ts
index 09ae162..2ac528a 100644
--- a/packages/browser/src/setupTests.ts
+++ b/packages/browser/src/setupTests.ts
@@ -7,7 +7,7 @@
* JSDom doesn't seem to support `credentials`, so let's define them here so we can mock their
* implementations in specific tests.
*/
-Object.defineProperty(globalThis.window.navigator, "credentials", {
+Object.defineProperty(globalThis.window.navigator, 'credentials', {
writable: true,
value: {
create: jest.fn(),
@@ -18,9 +18,9 @@ Object.defineProperty(globalThis.window.navigator, "credentials", {
/**
* Allow for setting values to `window.location.hostname`
*/
-Object.defineProperty(window, "location", {
+Object.defineProperty(window, 'location', {
writable: true,
value: {
- hostname: "",
+ hostname: '',
},
});