backend-manager 5.0.101 → 5.0.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/test/runner.js +2 -2
package/package.json
CHANGED
package/src/test/runner.js
CHANGED
|
@@ -103,7 +103,7 @@ class TestRunner {
|
|
|
103
103
|
// Discover and run tests
|
|
104
104
|
// BEM tests are in the top-level test/ directory of the package
|
|
105
105
|
const bemTestsDir = path.resolve(__dirname, '../../test');
|
|
106
|
-
const projectTestsDir = path.join(this.options.projectDir, 'test'
|
|
106
|
+
const projectTestsDir = path.join(this.options.projectDir, 'test');
|
|
107
107
|
|
|
108
108
|
// Run BEM default tests
|
|
109
109
|
if (jetpack.exists(bemTestsDir)) {
|
|
@@ -358,7 +358,7 @@ class TestRunner {
|
|
|
358
358
|
if (source === 'bem') {
|
|
359
359
|
return path.relative(path.resolve(__dirname, '../../test'), testFile);
|
|
360
360
|
}
|
|
361
|
-
return path.relative(path.join(this.options.projectDir, 'test'
|
|
361
|
+
return path.relative(path.join(this.options.projectDir, 'test'), testFile);
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
/**
|