Move old stylus tests to new extensions

This commit is contained in:
Slava Kim
2015-06-24 15:40:24 -07:00
parent b73c94c82b
commit 79a53736bb
4 changed files with 21 additions and 21 deletions

View File

@@ -18,8 +18,8 @@ Package.onTest(function (api) {
api.use(['tinytest', 'stylus', 'test-helpers', 'templating']);
api.addFiles([
'stylus_tests.html',
'stylus_tests.main.styl',
'stylus_tests.styl',
'stylus_tests.import.styl',
'stylus_tests.js'
],'client');
});

View File

@@ -1,5 +0,0 @@
// Variable used in stylus_test.styl
importDashy = dashed
.stylus-overwrite-color
font-size: 20px !important

View File

@@ -0,0 +1,16 @@
@import "stylus_tests.styl"
#stylus-tests
zoom: 1
dashy = dashed
.stylus-dashy-left-border
border-left: 1px dashy black
.stylus-overwrite-size
// This property is overwritten in stylus_test.import.styl
font-size: 10px
.stylus-import-dashy-border
border-left: 1px importDashy black

View File

@@ -1,16 +1,5 @@
@import "stylus_tests.import.styl"
// Variable used in stylus_test.styl
importDashy = dashed
#stylus-tests
zoom: 1
dashy = dashed
.stylus-dashy-left-border
border-left: 1px dashy black
.stylus-overwrite-size
// This property is overwritten in stylus_test.import.styl
font-size: 10px
.stylus-import-dashy-border
border-left: 1px importDashy black
.stylus-overwrite-color
font-size: 20px !important