mirror of
https://github.com/strapi/strapi.git
synced 2025-08-10 01:38:10 +00:00
8 lines
223 B
TypeScript
8 lines
223 B
TypeScript
![]() |
import { test } from '@playwright/test';
|
||
|
|
||
|
/**
|
||
|
* Execute a test suite only if the condition is true
|
||
|
*/
|
||
|
export const describeOnCondition = (shouldDescribe: boolean) =>
|
||
|
shouldDescribe ? test.describe : test.describe.skip;
|