@ac-kit/integration-test-util 0.2.1 → 0.2.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/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -33,5 +33,5 @@ heavier dependencies because only a handful of suites need it, while
|
|
|
33
33
|
Node only.
|
|
34
34
|
|
|
35
35
|
See the
|
|
36
|
-
[generated API docs](https://anthochamp.
|
|
36
|
+
[generated API docs](https://anthochamp.pages.grenadine.io/node-essentials/api/integration-test-util/)
|
|
37
37
|
for the full reference.
|
|
@@ -8,8 +8,8 @@ import { TcpSocketConnectOptions } from "@ac-kit/node";
|
|
|
8
8
|
*
|
|
9
9
|
* @param port The TCP port to connect to.
|
|
10
10
|
* @param bannerPrefix The expected prefix of the banner.
|
|
11
|
-
* @param
|
|
12
|
-
* signal.
|
|
11
|
+
* @param connectOptions Optional parameters including connection options and an
|
|
12
|
+
* abort signal.
|
|
13
13
|
* @returns A promise that resolves to true if the banner starts with the
|
|
14
14
|
* specified prefix, false otherwise.
|
|
15
15
|
*/
|
|
@@ -9,8 +9,8 @@ import { TcpSocket } from "@ac-kit/node";
|
|
|
9
9
|
*
|
|
10
10
|
* @param port The TCP port to connect to.
|
|
11
11
|
* @param bannerPrefix The expected prefix of the banner.
|
|
12
|
-
* @param
|
|
13
|
-
* signal.
|
|
12
|
+
* @param connectOptions Optional parameters including connection options and an
|
|
13
|
+
* abort signal.
|
|
14
14
|
* @returns A promise that resolves to true if the banner starts with the
|
|
15
15
|
* specified prefix, false otherwise.
|
|
16
16
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ac-kit/integration-test-util",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Test helpers that drive and probe external services — Docker containers, TCP and TLS banner checks — from a package's integration tests.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docker",
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
"tcp",
|
|
9
9
|
"testing"
|
|
10
10
|
],
|
|
11
|
-
"homepage": "https://anthochamp.
|
|
11
|
+
"homepage": "https://anthochamp.pages.grenadine.io/node-essentials/api/integration-test-util/",
|
|
12
12
|
"bugs": {
|
|
13
|
-
"url": "https://
|
|
13
|
+
"url": "https://git.grenadine.io/anthochamp/node-essentials/issues"
|
|
14
14
|
},
|
|
15
15
|
"license": "BSD-3-Clause",
|
|
16
16
|
"author": "Anthony Champagne <dev@anthonychampagne.fr>",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
|
-
"url": "git+https://
|
|
19
|
+
"url": "git+https://git.grenadine.io/anthochamp/node-essentials.git",
|
|
20
20
|
"directory": "packages/integration-test-util"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
@@ -39,22 +39,22 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@ac-kit/cmd-docker": "^0.2.1",
|
|
42
|
-
"@ac-kit/core": "^0.
|
|
42
|
+
"@ac-kit/core": "^0.4.0",
|
|
43
43
|
"@ac-kit/crypto-random": "^0.1.0",
|
|
44
|
-
"@ac-kit/node": "^0.3.
|
|
44
|
+
"@ac-kit/node": "^0.3.1",
|
|
45
45
|
"type-fest": "^5.8.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@ac-kit/tsconfig": "0.1.0",
|
|
49
49
|
"@ac-kit/typedoc-config": "0.1.0",
|
|
50
50
|
"@ac-kit/vitest-config": "0.1.1",
|
|
51
|
-
"@types/node": "26.5
|
|
51
|
+
"@types/node": "26.6.5",
|
|
52
52
|
"@typescript/native": "typescript@7.0.2",
|
|
53
53
|
"rimraf": "6.1.3",
|
|
54
54
|
"typedoc": "0.28.20",
|
|
55
55
|
"typescript": "@typescript/typescript6@6.0.2",
|
|
56
|
-
"vite": "8.3.
|
|
57
|
-
"vitest": "5.0.
|
|
56
|
+
"vite": "8.3.5",
|
|
57
|
+
"vitest": "5.0.5"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"vitest": ">=4.0.0"
|