Changed the test description loginAPI to API

This commit is contained in:
Hannes Heine 2021-08-10 15:44:37 +02:00
parent 6581351c0c
commit 9b93e4412f

View File

@ -110,7 +110,7 @@ describe('UserCard_FormUsername', () => {
await flushPromises()
})
it('calls the loginAPI', () => {
it('calls the API', () => {
expect(mockAPIcall).toBeCalledWith(
expect.objectContaining({
variables: {
@ -159,7 +159,7 @@ describe('UserCard_FormUsername', () => {
await flushPromises()
})
it('calls the loginAPI', () => {
it('calls the API', () => {
expect(mockAPIcall).toBeCalledWith(
expect.objectContaining({
variables: {