-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6edfa9c
commit f7895dd
Showing
5 changed files
with
145 additions
and
791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<template> | ||
<div class="test" /> | ||
</template> | ||
|
||
<style lang="sass"> | ||
.test | ||
background-color: blue | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template> | ||
<div class="test" /> | ||
</template> | ||
|
||
<style lang="scss"> | ||
.test { | ||
background-color: blue; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { render } from '@testing-library/vue' | ||
import ScssVTL from './components/ScssVTL' | ||
import SassVTL from './components/SassVTL' | ||
|
||
test('processes Sass', () => { | ||
render(SassVTL) | ||
|
||
const elementBackgroundColor = window.getComputedStyle( | ||
document.querySelector('.test') | ||
).backgroundColor | ||
expect(elementBackgroundColor).toEqual('blue') | ||
}) | ||
|
||
test('processes Scss', () => { | ||
render(ScssVTL) | ||
|
||
const elementBackgroundColor = window.getComputedStyle( | ||
document.querySelector('.test') | ||
).backgroundColor | ||
expect(elementBackgroundColor).toEqual('blue') | ||
}) |
Oops, something went wrong.