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 3d4a957 commit a32b56fCopy full SHA for a32b56f
src/__mocks__/utils.ts
@@ -1,4 +1,4 @@
1
-export function mockPlatform(platform: NodeJS.Platform) {
+export function setPlatform(platform: NodeJS.Platform) {
2
Object.defineProperty(process, 'platform', {
3
value: platform,
4
});
0 commit comments