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 a6fafa7 commit e101840Copy full SHA for e101840
integration/test/helper.js
@@ -5,6 +5,7 @@ const CustomAuth = require('./CustomAuth');
5
const sleep = require('./sleep');
6
const { TestUtils } = require('parse-server');
7
const Parse = require('../../node');
8
+const setGlobalVars = require('indexeddbshim');
9
10
const port = 1337;
11
const mountPath = '/parse';
@@ -114,6 +115,8 @@ global.Container = Parse.Object.extend('Container');
114
115
global.TestPoint = Parse.Object.extend('TestPoint');
116
global.TestObject = Parse.Object.extend('TestObject');
117
global.reconfigureServer = reconfigureServer;
118
+global.window = global; // Used for indexedDB shim
119
+setGlobalVars();
120
121
beforeAll(async () => {
122
await reconfigureServer();
0 commit comments