From e1ec88465a8c07c7c6bc090cc06d6710414bc15b Mon Sep 17 00:00:00 2001 From: hasundue Date: Thu, 21 Mar 2024 10:47:21 +0900 Subject: [PATCH] test(cli): stub latest version of `jsr:@std/` --- lib/testing.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/testing.ts b/lib/testing.ts index b2aa37b2..a45db1f3 100644 --- a/lib/testing.ts +++ b/lib/testing.ts @@ -145,11 +145,6 @@ export const LatestVersionStub = { return new Response( JSON.stringify({ versions: { - "1.0.0": {}, - "1.0.1": {}, - "1.0.2": { yanked: true }, - "1.1.0": {}, - "1.2.0": { yanked: true }, [latest]: {}, }, }), @@ -206,6 +201,7 @@ export function enableTestMode() { "deno_graph": "0.69.7", "node-emoji": "2.1.3", "@luca/flag": "1.0.1", + "@std/": "0.218.2", }); const fs = new FileSystemFake(); ReadTextFileStub.create(fs, { readThrough: true });