We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cdb2a9 commit bc1c10dCopy full SHA for bc1c10d
site/src/testHelpers/performanceMock.ts
@@ -0,0 +1,3 @@
1
+// This is a mock of the performance API. It is used to mock the performance API in tests since the tests
2
+// do not run in a browser environment. Feel free to add functionality to this if you need.
3
+window.performance.getEntries = () => []
0 commit comments