mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Move old stylus tests to new extensions
This commit is contained in:
@@ -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');
|
||||
});
|
||||
|
||||
5
packages/stylus/stylus_tests.import.styl
vendored
5
packages/stylus/stylus_tests.import.styl
vendored
@@ -1,5 +0,0 @@
|
||||
// Variable used in stylus_test.styl
|
||||
importDashy = dashed
|
||||
|
||||
.stylus-overwrite-color
|
||||
font-size: 20px !important
|
||||
16
packages/stylus/stylus_tests.main.styl
Normal file
16
packages/stylus/stylus_tests.main.styl
Normal 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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user