Skip to content

Commit

Permalink
Revert local changes for testing
Browse files Browse the repository at this point in the history
* Revert local changes for testing.
  • Loading branch information
puckowski committed Jul 21, 2023
1 parent bbdbcaf commit 7a4d9a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions packages/less/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
"source-map": "~0.6.0"
},
"devDependencies": {
"@less/test-data": "^4.1.0",
"@less/test-import-module": "^4.0.0",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/less/test/less-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = function() {
var oneTestOnly = process.argv[2],
isFinished = false;

var testFolder = path.dirname(require.resolve('../../test-data'));
var testFolder = path.dirname(require.resolve('@less/test-data'));
var lessFolder = path.join(testFolder, 'less');

// Define String.prototype.endsWith if it doesn't exist (in older versions of node)
Expand Down
6 changes: 3 additions & 3 deletions packages/test-data/less/_main/import-module.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@import "../../../test-import-module/one/two/three/3.less";
@import "../../../test-import-module/one/two/2";
@import "../../../test-import-module/one/1.less";
@import "@less/test-import-module/one/two/three/3.less";
@import "@less/test-import-module/one/two/2";
@import "@less/test-import-module/one/1.less";

0 comments on commit 7a4d9a8

Please # to comment.