diff --git a/.github/workflows/aleph_in_deno.yml b/.github/workflows/aleph_in_deno.yml index 7dd929056..6d527f512 100644 --- a/.github/workflows/aleph_in_deno.yml +++ b/.github/workflows/aleph_in_deno.yml @@ -32,4 +32,4 @@ jobs: run: deno cache std.ts - name: Run tests - run: deno test -A --unstable + run: deno test -A --unstable --location "http://localhost/" diff --git a/plugins/sass_test.ts b/plugins/sass_test.ts index e6c2e3847..b07a6a7a2 100644 --- a/plugins/sass_test.ts +++ b/plugins/sass_test.ts @@ -2,11 +2,6 @@ import { assertEquals } from 'https://deno.land/std/testing/asserts.ts'; import plugin from './sass.ts'; Deno.test('project scss loader plugin', () => { - Object.assign(window, { - location: { - href: 'https://localhost/' - } - }) const { code, loader } = plugin.transform( (new TextEncoder).encode('$someVar: 123px; .some-selector { width: $someVar; }'), 'test.scss' @@ -19,11 +14,6 @@ Deno.test('project scss loader plugin', () => { }) Deno.test('project sass loader plugin', () => { - Object.assign(window, { - location: { - href: 'https://localhost/' - } - }) let ret = plugin.transform( (new TextEncoder).encode('$someVar: 123px\n.some-selector\n width: 123px'), 'test.sass'