File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
packages/create-cloudflare/e2e/tests/cli Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -635,16 +635,20 @@ describe("Create Cloudflare CLI", () => {
635635 } ) ;
636636 } ) ;
637637
638- test ( "error when trying to create a solid app on Pages" , async ( {
639- logStream,
640- } ) => {
641- const { errors } = await runC3 (
642- [ "--platform=pages" , "--framework=solid" , "my-app" ] ,
643- [ ] ,
644- logStream ,
645- ) ;
646- expect ( errors ) . toMatch (
647- / E r r o r : T h e .* ? f r a m e w o r k d o e s n ' t s u p p o r t t h e " p a g e s " p l a t f o r m / ,
638+ describe . only ( "frameworks related" , ( ) => {
639+ [ "solid" , "next" ] . forEach ( ( framework ) =>
640+ test ( `error when trying to create a ${ framework } app on Pages` , async ( {
641+ logStream,
642+ } ) => {
643+ const { errors } = await runC3 (
644+ [ "--platform=pages" , `--framework=${ framework } ` , "my-app" ] ,
645+ [ ] ,
646+ logStream ,
647+ ) ;
648+ expect ( errors ) . toMatch (
649+ / E r r o r : T h e .* ? f r a m e w o r k d o e s n ' t s u p p o r t t h e " p a g e s " p l a t f o r m / ,
650+ ) ;
651+ } ) ,
648652 ) ;
649653 } ) ;
650654} ) ;
You can’t perform that action at this time.
0 commit comments