mirror of
https://github.com/penpot/penpot.git
synced 2025-07-13 14:47:56 +02:00
🔧 Add tests to cover text styles
This commit is contained in:
parent
f1a6b46165
commit
747f72be47
9 changed files with 3617 additions and 0 deletions
|
@ -182,6 +182,10 @@ export class WorkspacePage extends BaseWebSocketPage {
|
|||
await this.mockRPC(/get\-file\?/, jsonFile);
|
||||
}
|
||||
|
||||
async mockGetAsset(regex, asset) {
|
||||
await this.mockRPC(new RegExp(regex), asset);
|
||||
}
|
||||
|
||||
async setupFileWithComments() {
|
||||
await this.mockRPC(
|
||||
"get-comment-threads?file-id=*",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue