Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit d742b8b

Browse files
test: remove assignment statement to location
1 parent 0456c9d commit d742b8b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

plugins/sass_test.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ import { assertEquals } from 'https://deno.land/std/testing/asserts.ts';
22
import plugin from './sass.ts';
33

44
Deno.test('project scss loader plugin', () => {
5-
Object.assign(window, {
6-
location: {
7-
href: 'https://localhost/'
8-
}
9-
})
105
const { code, loader } = plugin.transform(
116
(new TextEncoder).encode('$someVar: 123px; .some-selector { width: $someVar; }'),
127
'test.scss'
@@ -19,11 +14,6 @@ Deno.test('project scss loader plugin', () => {
1914
})
2015

2116
Deno.test('project sass loader plugin', () => {
22-
Object.assign(window, {
23-
location: {
24-
href: 'https://localhost/'
25-
}
26-
})
2717
let ret = plugin.transform(
2818
(new TextEncoder).encode('$someVar: 123px\n.some-selector\n width: 123px'),
2919
'test.sass'

0 commit comments

Comments
 (0)