@lumjs/tests 1.7.0 → 1.7.1
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/lib/index.js +6 -6
- package/package.json +2 -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
|
+
## [1.7.1] - 2022-10-18
|
|
15
|
+
### Changed
|
|
16
|
+
- Bumped `@lumjs/core` to `1.7.1`.
|
|
17
|
+
- Moved from custom lazy-loading to `ModuleBuilder`.
|
|
18
|
+
|
|
14
19
|
## [1.7.0] - 2022-09-29
|
|
15
20
|
#### The *harness* update
|
|
16
21
|
### Added
|
package/lib/index.js
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
* Several test related classes.
|
|
3
3
|
* @module @lumjs/tests
|
|
4
4
|
*/
|
|
5
|
-
const {
|
|
5
|
+
const {has,can} = require('@lumjs/core').buildModule(module);
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* The main Test class
|
|
9
9
|
*
|
|
10
|
+
* @name module:@lumjs/tests.Test
|
|
11
|
+
* @class
|
|
10
12
|
* @see module:@lumjs/tests/test
|
|
11
13
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const lz = {enumerable: true};
|
|
14
|
+
has('Test', true);
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Test Harness class (lazy loaded)
|
|
@@ -20,7 +20,7 @@ const lz = {enumerable: true};
|
|
|
20
20
|
* @class
|
|
21
21
|
* @see module:@lumjs/tests/harness
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
can('Harness', true);
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* Functional API registration (lazy loaded)
|
|
@@ -29,7 +29,7 @@ lazy(exports, 'Harness', () => require('./harness'), lz);
|
|
|
29
29
|
* @function
|
|
30
30
|
* @see module:@lumjs/tests/test/functional
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
can('functional', './test/functional');
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* Create a new Test instance.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumjs/tests",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"bin":
|
|
6
6
|
{
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies":
|
|
26
26
|
{
|
|
27
|
-
"@lumjs/core": "^1.
|
|
27
|
+
"@lumjs/core": "^1.7.1"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"test": "node ./bin/lumtest.js",
|