Fix cucumber test

This commit is contained in:
roschaefer 2019-12-02 21:07:12 +01:00
parent 7c6d5b5129
commit b22e54181a

View File

@ -13,7 +13,10 @@ After(async () => {
})
Given('our CLIENT_URI is {string}', function (string) {
expect(process.env.CLIENT_URI).toEqual(string)
expect(string).toEqual('http://localhost:3000')
// This is just for documentation. When you see URLs in the response of
// scenarios you, should be able to tell that it's coming from this
// environment variable.
});
Given('we have the following users in our database:', function (dataTable) {