test(e2e): pass language to tests

This commit is contained in:
Benedikt Rötsch
2017-12-13 16:30:41 +01:00
committed by Benedikt Rötsch
parent ac164d9069
commit e5a8828aa1

View File

@@ -21,7 +21,7 @@ server.listen(TEST_PORT, function () {
'run',
!process.env.CI ? '--headed' : null,
'--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))
.then((result) => {
console.log('✔ e2e test succeeded:')