Browse Source

ref(js): Convert processInitQueue.spec to tsx (#51118)

Evan Purkhiser 1 year ago
parent
commit
b7b26c28ab
1 changed files with 2 additions and 2 deletions
  1. 2 2
      static/app/bootstrap/processInitQueue.spec.tsx

+ 2 - 2
static/app/bootstrap/processInitQueue.spec.jsx → static/app/bootstrap/processInitQueue.spec.tsx

@@ -6,7 +6,7 @@ describe('processInitQueue', function () {
     const init = {
       name: 'onReady',
       onReady: mock,
-    };
+    } as const;
 
     window.__onSentryInit = [init];
 
@@ -26,7 +26,7 @@ describe('processInitQueue', function () {
     const init = {
       name: 'onReady',
       onReady: mock,
-    };
+    } as const;
 
     window.__onSentryInit.push(init);
     expect(mock).toHaveBeenCalledTimes(1);