diff --git a/functions/sample_function_test.ts b/functions/sample_function_test.ts index 102e2b9..65c2669 100644 --- a/functions/sample_function_test.ts +++ b/functions/sample_function_test.ts @@ -3,9 +3,9 @@ import { assertEquals, assertExists, assertStringIncludes, -} from "https://deno.land/std@0.153.0/testing/asserts.ts"; +} from "std/testing/asserts.ts"; import SampleFunction from "./sample_function.ts"; -import * as mf from "https://deno.land/x/mock_fetch@0.3.0/mod.ts"; +import * as mf from "mock-fetch/mod.ts"; const { createContext } = SlackFunctionTester("sample_function"); diff --git a/import_map.json b/import_map.json index c1e7639..53d8693 100644 --- a/import_map.json +++ b/import_map.json @@ -1,6 +1,8 @@ { "imports": { "deno-slack-sdk/": "https://deno.land/x/deno_slack_sdk@2.4.1/", - "deno-slack-api/": "https://deno.land/x/deno_slack_api@2.1.2/" + "deno-slack-api/": "https://deno.land/x/deno_slack_api@2.1.2/", + "std/": "https://deno.land/std@0.183.0/", + "mock-fetch/": "https://deno.land/x/mock_fetch@0.3.0/" } }