adding delay
This commit is contained in:
parent
f946a6107c
commit
c243f3ef8e
@ -4,9 +4,11 @@ import { startBackend } from '../../src/startBackend';
|
||||
// Start the Backend
|
||||
const result = startBackend({port: 3001});
|
||||
|
||||
generate({
|
||||
setTimeout(() => {
|
||||
generate({
|
||||
input: 'http://localhost:3001' + result.definitionUri,
|
||||
output: './pages/interface'
|
||||
});
|
||||
});
|
||||
|
||||
result.close()
|
||||
result.close()
|
||||
}, 2000)
|
||||
|
Loading…
Reference in New Issue
Block a user