first commit
This commit is contained in:
7
ui/tests/unit/global-teardown.js
Normal file
7
ui/tests/unit/global-teardown.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// Shut down the mock API once all the tests are complete.
|
||||
|
||||
module.exports = () => {
|
||||
return new Promise((resolve, reject) => {
|
||||
global.mockApiServer.close(resolve)
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user