fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-07-10 19:30:53 +02:00
parent c40e6c19ea
commit cf927114c2
4 changed files with 12 additions and 12 deletions

View File

@ -20,15 +20,12 @@ test.before (async () => {
port = await mock_server.start_server ();
});
test.only ('login', async (t) => {
console.log ('logging in');
console.log ('port:', port);
test ('login', async (t) => {
const session = await client.login (
'testuser',
'foo',
`http://localhost:${port}`
);
console.log ('server respond');
t.is (typeof session, 'string');
const resp = await fetch (
@ -38,7 +35,6 @@ test.only ('login', async (t) => {
t.is (resp.status, consts.http.status_ok);
t.is (await resp.text (), 'foo:69');
console.log ('done test');
});
test ('allow access to excluded paths', async (t) => {