We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fca4ace commit eb80c58Copy full SHA for eb80c58
1 file changed
sample/19-auth-jwt/e2e/app/app.e2e-spec.ts
@@ -20,6 +20,7 @@ describe('E2E JWT Sample', () => {
20
.post('/auth/login')
21
.send({ username: 'john', password: 'changeme' })
22
.expect(201);
23
+
24
const token = loginReq.body.access_token;
25
return request(app.getHttpServer())
26
.get('/profile')
@@ -31,4 +32,4 @@ describe('E2E JWT Sample', () => {
31
32
afterAll(async() => {
33
await app.close();
34
});
-});
35
+});
0 commit comments