@@ -118,12 +118,12 @@ describe('Remix E2E Tests', () => {
118
118
it ( 'should check for un-escaped dollar signs in routes' , async ( ) => {
119
119
await expect ( async ( ) =>
120
120
runCLI (
121
- `generate @nx/remix:route --project ${ plugin } --path my.route.$withParams.tsx`
121
+ `generate @nx/remix:route --project ${ plugin } --path=" my.route.$withParams.tsx" `
122
122
)
123
123
) . rejects . toThrow ( ) ;
124
124
125
125
runCLI (
126
- `generate @nx/remix:route --project ${ plugin } --path my.route.\\$withParams.tsx`
126
+ `generate @nx/remix:route --project ${ plugin } --path=" my.route.\\$withParams.tsx" `
127
127
) ;
128
128
129
129
expect ( ( ) =>
@@ -133,7 +133,7 @@ describe('Remix E2E Tests', () => {
133
133
134
134
it ( 'should pass un-escaped dollar signs in routes with skipChecks flag' , async ( ) => {
135
135
await runCommandAsync (
136
- `someWeirdUseCase=route-segment && yarn nx generate @nx/remix:route --project ${ plugin } --path my.route.$someWeirdUseCase.tsx --force`
136
+ `someWeirdUseCase=route-segment && yarn nx generate @nx/remix:route --project ${ plugin } --path=" my.route.$someWeirdUseCase.tsx" --force`
137
137
) ;
138
138
139
139
expect ( ( ) =>
@@ -146,12 +146,12 @@ describe('Remix E2E Tests', () => {
146
146
it ( 'should check for un-escaped dollar signs in resource routes' , async ( ) => {
147
147
await expect ( async ( ) =>
148
148
runCLI (
149
- `generate @nx/remix:resource-route --project ${ plugin } --path my.route.$withParams.ts`
149
+ `generate @nx/remix:resource-route --project ${ plugin } --path=" my.route.$withParams.ts" `
150
150
)
151
151
) . rejects . toThrow ( ) ;
152
152
153
153
runCLI (
154
- `generate @nx/remix:resource-route --project ${ plugin } --path my.route.\\$withParams.ts`
154
+ `generate @nx/remix:resource-route --project ${ plugin } --path=" my.route.\\$withParams.ts" `
155
155
) ;
156
156
157
157
expect ( ( ) =>
@@ -161,7 +161,7 @@ describe('Remix E2E Tests', () => {
161
161
162
162
xit ( 'should pass un-escaped dollar signs in resource routes with skipChecks flag' , async ( ) => {
163
163
await runCommandAsync (
164
- `someWeirdUseCase=route-segment && yarn nx generate @nx/remix:resource-route --project ${ plugin } --path my.route.$someWeirdUseCase.ts --force`
164
+ `someWeirdUseCase=route-segment && yarn nx generate @nx/remix:resource-route --project ${ plugin } --path=" my.route.$someWeirdUseCase.ts" --force`
165
165
) ;
166
166
167
167
expect ( ( ) =>
0 commit comments