Skip to content

Commit

Permalink
Minor: restore position of a piece of code
Browse files Browse the repository at this point in the history
  • Loading branch information
fflorent committed Nov 6, 2024
1 parent c1d77eb commit 7de1e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/server/lib/helpers/TestServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ export class TestServer {
public testingSocket: string;
public testingHooks: TestingHooksClient;
public stopped = false;
public get proxiedServer() { return this._proxiedServer; }
public get serverUrl() {
if (this._proxiedServer) {
throw new Error('Direct access to this test server is disallowed');
}

return `http://localhost:${this.port}`;
}
public get proxiedServer() { return this._proxiedServer; }

private _server: ChildProcess;
private _exitPromise: Promise<number | string>;
Expand Down

0 comments on commit 7de1e98

Please sign in to comment.