@lumjs/tests 2.1.1 → 2.2.0
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/CHANGELOG.md +5 -0
- package/TODO.md +2 -0
- package/lib/harness/plugin/node.js +1 -1
- package/lib/index.js +3 -4
- package/lib/test/stats.js +2 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,11 @@ and a reference to a property of a module will be in `@tests.propName` format.
|
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
+
## [2.2.0] - 2026-01-30
|
|
15
|
+
### Changed
|
|
16
|
+
- Updated to reflect several changes in `@lumjs/core` in regards to deprecated
|
|
17
|
+
functions, etc. There's more to do yet, but it's a start!
|
|
18
|
+
|
|
14
19
|
## [2.1.1] - 2025-11-26
|
|
15
20
|
### Fixed / Changed
|
|
16
21
|
- The Harness (and `lumtest.js` script) can now handle ES Module test files.
|
package/TODO.md
CHANGED
package/lib/index.js
CHANGED
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
* Several test related classes.
|
|
3
3
|
* @module @lumjs/tests
|
|
4
4
|
*/
|
|
5
|
-
const {
|
|
6
|
-
|
|
7
|
-
const E = def.e;
|
|
5
|
+
const {df,lazy} = require('@lumjs/core');
|
|
6
|
+
const E = {enumerable: true};
|
|
8
7
|
|
|
9
8
|
/**
|
|
10
9
|
* The main Test class
|
|
@@ -13,7 +12,7 @@ const E = def.e;
|
|
|
13
12
|
* @class
|
|
14
13
|
* @see module:@lumjs/tests/test
|
|
15
14
|
*/
|
|
16
|
-
|
|
15
|
+
df(exports, 'Test', require('./test'), E);
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
18
|
* Test Harness class (lazy loaded)
|
package/lib/test/stats.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const core = require('@lumjs/core');
|
|
2
2
|
const mods = require('@lumjs/core/modules');
|
|
3
|
+
const describe = require('@lumjs/describe');
|
|
3
4
|
const {types} = core;
|
|
4
5
|
const {S,N,F,isObj,def} = types;
|
|
5
6
|
const Log = require('./log');
|
|
@@ -144,7 +145,7 @@ class LumTestStats
|
|
|
144
145
|
|
|
145
146
|
stringify(what)
|
|
146
147
|
{
|
|
147
|
-
return
|
|
148
|
+
return describe(what, this.stringifyOpts);
|
|
148
149
|
}
|
|
149
150
|
|
|
150
151
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumjs/tests",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"bin":
|
|
6
6
|
{
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies":
|
|
29
29
|
{
|
|
30
|
-
"@lumjs/core": "^1.38.
|
|
30
|
+
"@lumjs/core": "^1.38.6",
|
|
31
|
+
"@lumjs/describe": "^1.0.0"
|
|
31
32
|
},
|
|
32
33
|
"scripts": {
|
|
33
34
|
"test": "./bin/lumtest.js -e '\\.[mc]?js$'",
|