@toa.io/userland 1.2.0-dev.1 → 1.2.0-dev.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/userland",
3
- "version": "1.2.0-dev.1",
3
+ "version": "1.2.0-dev.2",
4
4
  "description": "Toa development kit",
5
5
  "homepage": "https://toa.io",
6
6
  "author": {
@@ -24,14 +24,14 @@
24
24
  "main": "src/index.js",
25
25
  "types": "types/index.d.ts",
26
26
  "dependencies": {
27
- "@toa.io/boot": "1.0.2-dev.1",
28
- "@toa.io/core": "1.1.0-dev.1",
29
- "@toa.io/filesystem": "1.0.2-dev.1",
30
- "@toa.io/generic": "0.11.0-dev.1",
31
- "@toa.io/norm": "1.0.2-dev.1",
32
- "@toa.io/schemas": "0.8.4-dev.1",
33
- "@toa.io/yaml": "0.7.6-dev.1",
27
+ "@toa.io/boot": "1.0.2-dev.2",
28
+ "@toa.io/core": "1.1.0-dev.2",
29
+ "@toa.io/filesystem": "1.0.2-dev.2",
30
+ "@toa.io/generic": "0.11.0-dev.2",
31
+ "@toa.io/norm": "1.0.2-dev.2",
32
+ "@toa.io/schemas": "0.8.4-dev.2",
33
+ "@toa.io/yaml": "0.7.6-dev.2",
34
34
  "tap": "16.3.4"
35
35
  },
36
- "gitHead": "ef65d2f42f13aac397c14f8c47eb026a191cda66"
36
+ "gitHead": "416e6aa02364a347b47adaaeb3f944b7b39fbf68"
37
37
  }
@@ -9,9 +9,11 @@ const replay = require('./suite')
9
9
  * @return {Promise<boolean>}
10
10
  */
11
11
  const test = async (suite) => {
12
- const { ok } = await tap.test(suite.title, replay.suite(suite))
12
+ const result = await tap.test(suite.title, OPTIONS, replay.suite(suite))
13
13
 
14
- return ok
14
+ return result === null ? false : result.ok
15
15
  }
16
16
 
17
+ const OPTIONS = { bail: true }
18
+
17
19
  exports.test = test
@@ -75,7 +75,6 @@ it('should invoke operations with translated samples', async () => {
75
75
  it('should emit translated messages', async () => {
76
76
  /**
77
77
  * @param {toa.samples.Message} declaration
78
- * @param {string} id
79
78
  * @returns {{index: number, message: toa.sampling.Message}}
80
79
  */
81
80
  const translation = (declaration) => {