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 d30c3e9 commit 768a781Copy full SHA for 768a781
spec/helper.js
@@ -52,13 +52,13 @@ delete defaultConfiguration.cloud;
52
53
// Allows testing specific configurations of Parse Server
54
var setServerConfiguration = configuration => {
55
- api = new ParseServer(configuration);
+ server.close();
56
+ cache.clearCache();
57
app = express();
58
+ api = new ParseServer(configuration);
59
app.use('/1', api);
- cache.clearCache();
- server.close();
60
server = app.listen(port);
61
-}
+};
62
63
var restoreServerConfiguration = () => setServerConfiguration(defaultConfiguration);
64
0 commit comments