mirror of
https://github.com/penpot/penpot.git
synced 2025-05-12 10:46:39 +02:00
🐛 Fix mocking websockets when running multiple tests
This commit is contained in:
parent
575873eba7
commit
d43458ee89
5 changed files with 51 additions and 36 deletions
|
@ -8,8 +8,8 @@ export class BaseWebSocketPage extends BasePage {
|
|||
* @param {Page} page
|
||||
* @returns
|
||||
*/
|
||||
static initWebSockets(page) {
|
||||
return MockWebSocketHelper.init(page);
|
||||
static async initWebSockets(page) {
|
||||
await MockWebSocketHelper.init(page);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue