Skip to content

Commit

Permalink
Revert data option
Browse files Browse the repository at this point in the history
  • Loading branch information
sebakerckhof committed Jun 20, 2018
1 parent f9c91e6 commit 89369a0
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 35 deletions.
6 changes: 0 additions & 6 deletions package.js
Expand Up @@ -47,12 +47,6 @@ Package.onTest(function (api) {
'test/include-paths/include-paths.scss',
'test/include-paths/modules/module/_module.scss',
]);

// Test for data option
api.addFiles([
'test/data/data-options.scss',
'test/data/data.scss',
]);

api.addFiles('tests.js', 'client');

Expand Down
6 changes: 2 additions & 4 deletions scss-config.json
@@ -1,7 +1,5 @@
{
"includePaths": [
"{local-test:fourseven:scss}/test/include-paths/modules/module",
"{local-test:fourseven:scss}/test/data/"
],
"data": "@import 'data-options.scss';"
"{local-test:fourseven:scss}/test/include-paths/modules/module"
]
}
1 change: 0 additions & 1 deletion test/data/data-options.scss

This file was deleted.

4 changes: 0 additions & 4 deletions test/data/data.scss

This file was deleted.

20 changes: 0 additions & 20 deletions tests.js
Expand Up @@ -53,23 +53,3 @@ Tinytest.add('sass/scss - import from includePaths', function (test) {
}

});

Tinytest.add('sass/scss - data option of node-sass', function (test) {

var div = document.createElement('div');

document.body.appendChild(div);

try {

div.className = 'test-data-option';

test.equal(getStyleProperty(div, 'color'), 'rgb(18, 51, 33)', div.className);

} finally {

document.body.removeChild(div);

}

});

0 comments on commit 89369a0

Please sign in to comment.