Commit 32b04225 authored by Ana Ellis's avatar Ana Ellis

feat: move bad ink config into test file

parent dd3d7815
......@@ -30,12 +30,4 @@ module.exports = {
},
},
},
'bad-pubsweet-component-ink-backend': {
inkEndpoint: 'http://testinkdemo-api.coko.foundation/',
email: 'test@example.com',
password: 'p',
recipes: {
'editoria-typescript': '1',
},
},
}
......@@ -8,6 +8,15 @@ import { login, dashboard, submission } from './pageObjects'
let author
const title = 'this is a test submission'
const badInkConfig = {
inkEndpoint: 'http://testinkdemo-api.coko.foundation/',
email: 'test@example.com',
password: 'p',
recipes: {
'editoria-typescript': '1',
},
}
fixture
.only('Author user')
.before(startServer)
......@@ -121,9 +130,7 @@ test
config.util.extendDeep(
{},
JSON.parse(JSON.stringify(config.get('pubsweet-component-ink-backend'))),
JSON.parse(
JSON.stringify(config.get('bad-pubsweet-component-ink-backend')),
),
JSON.parse(JSON.stringify(badInkConfig)),
)
author = result.userData
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment