Use axios params on GET rather than string concat

This commit is contained in:
simojenki
2021-03-01 18:02:39 +11:00
parent 333c9eace9
commit cedd31d8a5
3 changed files with 37 additions and 19 deletions

View File

@@ -22,7 +22,7 @@ describe("InMemoryMusicService", () => {
expect(musicLibrary).toBeDefined();
});
it.only("should fail with an exception if an invalid token is used", async () => {
it("should fail with an exception if an invalid token is used", async () => {
const credentials = { username: "bob", password: "smith" };
service.hasUser(credentials);