From a02b8c1ecdd6b0d18d12fbb7a50ecd2e0b2ef13d Mon Sep 17 00:00:00 2001 From: simojenki Date: Sun, 3 Oct 2021 18:49:16 +1100 Subject: [PATCH] Re-enable tests removed with .only --- tests/subsonic.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/subsonic.test.ts b/tests/subsonic.test.ts index 5dd342b..f283756 100644 --- a/tests/subsonic.test.ts +++ b/tests/subsonic.test.ts @@ -172,7 +172,7 @@ describe("cachingImageFetcher", () => { }); describe("when there is no image in the cache", () => { - it.only("should fetch the image from the source and then cache and return it", async () => { + it("should fetch the image from the source and then cache and return it", async () => { const dir = tmp.dirSync(); const cacheFile = path.join(dir.name, `${Md5.hashStr(url)}.png`); const jpgImage = Buffer.from("jpg-image", 'utf-8'); @@ -197,7 +197,7 @@ describe("cachingImageFetcher", () => { }); describe("when the image is already in the cache", () => { - it.only("should fetch the image from the cache and return it", async () => { + it("should fetch the image from the cache and return it", async () => { const dir = tmp.dirSync(); const cacheFile = path.join(dir.name, `${Md5.hashStr(url)}.png`); const data = Buffer.from("foobar2", "utf-8"); @@ -214,7 +214,7 @@ describe("cachingImageFetcher", () => { }); describe("when the delegate returns undefined", () => { - it.only("should return undefined", async () => { + it("should return undefined", async () => { const dir = tmp.dirSync(); const cacheFile = path.join(dir.name, `${Md5.hashStr(url)}.png`);