Download wp-calypso/test/e2e/specs/blocks/blocks__jetpack-grow.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 775 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/test/e2e/specs/blocks/blocks__jetpack-grow.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/test/e2e/specs/blocks/blocks__jetpack-grow.ts
-
curl -L -o blocks__jetpack-grow.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/test/e2e/specs/blocks/blocks__jetpack-grow.ts
775 Bytes
| /** | |
| * @group gutenberg | |
| * @group jetpack-wpcom-integration | |
| */ | |
| import { | |
| BlockFlow, | |
| BusinessHoursFlow, | |
| WhatsAppButtonFlow, | |
| PaidContentBlockFlow, | |
| SubscribeFlow, | |
| ContactInfoBlockFlow, | |
| DataHelper, | |
| } from '@automattic/calypso-e2e'; | |
| import { createBlockTests } from './shared/block-smoke-testing'; | |
| const blockFlows: BlockFlow[] = [ | |
| new BusinessHoursFlow( { day: 'Sat' } ), | |
| new SubscribeFlow(), | |
| new ContactInfoBlockFlow( { email: 'foo@example.com', phoneNumber: '(213) 621-0002' } ), | |
| new WhatsAppButtonFlow( { phoneNumber: 1234567890, buttonText: 'Porpoises swim happily' } ), | |
| new PaidContentBlockFlow( { | |
| subscriberTitle: DataHelper.getRandomPhrase(), | |
| subscriberText: DataHelper.getRandomPhrase(), | |
| } ), | |
| ]; | |
| createBlockTests( 'Blocks: Jetpack Grow', blockFlows ); | |