test(e2e): pass language to tests
This commit is contained in:
committed by
Benedikt Rötsch
parent
ac164d9069
commit
e5a8828aa1
@@ -21,7 +21,7 @@ server.listen(TEST_PORT, function () {
|
|||||||
'run',
|
'run',
|
||||||
!process.env.CI ? '--headed' : null,
|
!process.env.CI ? '--headed' : null,
|
||||||
'--env',
|
'--env',
|
||||||
`CONTENTFUL_SPACE_ID=${CONTENTFUL_SPACE_ID},CONTENTFUL_DELIVERY_TOKEN=${CONTENTFUL_DELIVERY_TOKEN},CONTENTFUL_PREVIEW_TOKEN=${CONTENTFUL_PREVIEW_TOKEN}`
|
`LANGUAGE=nodejs,CONTENTFUL_SPACE_ID=${CONTENTFUL_SPACE_ID},CONTENTFUL_DELIVERY_TOKEN=${CONTENTFUL_DELIVERY_TOKEN},CONTENTFUL_PREVIEW_TOKEN=${CONTENTFUL_PREVIEW_TOKEN}`
|
||||||
].filter(Boolean))
|
].filter(Boolean))
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
console.log('✔ e2e test succeeded:')
|
console.log('✔ e2e test succeeded:')
|
||||||
|
|||||||
Reference in New Issue
Block a user