Skip to content

Commit

Permalink
chore: adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
erossignon committed Jun 30, 2023
1 parent 472f424 commit 199348a
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -37,9 +37,8 @@ async function given_a_running_server() {
}
async function when_server_is_shutdown(server: OPCUAServer): Promise<void> {
server.engine.setShutdownReason("Shutdown by Test");
await server.shutdown(1000).then(() => {
debugLog("Server has shutdown");
});
await server.shutdown(1000);
debugLog("Server has shutdown");
}
async function given_a_connected_client(
endpointUrl: string
Expand Down

0 comments on commit 199348a

Please sign in to comment.