@git.zone/tstest 1.8.0 → 1.9.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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@git.zone/tstest',
6
- version: '1.8.0',
6
+ version: '1.9.1',
7
7
  description: 'a test utility to run tests that match test/**/*.ts'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxrQkFBa0I7SUFDeEIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHFEQUFxRDtDQUNuRSxDQUFBIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@git.zone/tstest",
3
- "version": "1.8.0",
3
+ "version": "1.9.1",
4
4
  "private": false,
5
5
  "description": "a test utility to run tests that match test/**/*.ts",
6
6
  "exports": {
@@ -15,8 +15,8 @@
15
15
  "tstest": "./cli.js"
16
16
  },
17
17
  "devDependencies": {
18
- "@git.zone/tsbuild": "^2.5.1",
19
- "@types/node": "^22.15.18"
18
+ "@git.zone/tsbuild": "^2.6.3",
19
+ "@types/node": "^22.15.21"
20
20
  },
21
21
  "dependencies": {
22
22
  "@api.global/typedserver": "^3.0.74",
@@ -28,10 +28,10 @@
28
28
  "@push.rocks/smartcrypto": "^2.0.4",
29
29
  "@push.rocks/smartdelay": "^3.0.5",
30
30
  "@push.rocks/smartenv": "^5.0.12",
31
- "@push.rocks/smartexpect": "^2.4.2",
32
- "@push.rocks/smartfile": "^11.2.0",
31
+ "@push.rocks/smartexpect": "^2.5.0",
32
+ "@push.rocks/smartfile": "^11.2.3",
33
33
  "@push.rocks/smartjson": "^5.0.20",
34
- "@push.rocks/smartlog": "^3.1.1",
34
+ "@push.rocks/smartlog": "^3.1.8",
35
35
  "@push.rocks/smartmongo": "^2.0.12",
36
36
  "@push.rocks/smartpath": "^5.0.18",
37
37
  "@push.rocks/smartpromise": "^4.2.3",
package/readme.md CHANGED
@@ -26,7 +26,7 @@
26
26
  - ⏳ **Timeout Control** - Set custom timeouts for tests
27
27
  - 🔁 **Retry Logic** - Automatically retry failing tests
28
28
  - 🛠️ **Test Fixtures** - Create reusable test data
29
- - 📦 **Browser-Compatible** - Full browser support for tapbundle
29
+ - 📦 **Browser-Compatible** - Full browser support with embedded tapbundle
30
30
 
31
31
  ## Installation
32
32
 
@@ -143,10 +143,10 @@ tstest supports different test environments through file naming:
143
143
 
144
144
  ### Writing Tests
145
145
 
146
- tstest uses TAP (Test Anything Protocol) for test output. Use `@pushrocks/tapbundle` for the best experience:
146
+ tstest includes a built-in TAP (Test Anything Protocol) test framework. Import it from the embedded tapbundle:
147
147
 
148
148
  ```typescript
149
- import { expect, tap } from '@push.rocks/tapbundle';
149
+ import { expect, tap } from '@git.zone/tstest/tapbundle';
150
150
 
151
151
  tap.test('my awesome test', async () => {
152
152
  const result = await myFunction();
@@ -156,6 +156,14 @@ tap.test('my awesome test', async () => {
156
156
  tap.start();
157
157
  ```
158
158
 
159
+ **Module Exports**
160
+
161
+ tstest provides multiple exports for different use cases:
162
+
163
+ - `@git.zone/tstest` - Main CLI and test runner functionality
164
+ - `@git.zone/tstest/tapbundle` - Browser-compatible test framework
165
+ - `@git.zone/tstest/tapbundle_node` - Node.js-specific test utilities
166
+
159
167
  #### Test Features
160
168
 
161
169
  **Tag-based Test Filtering**
@@ -243,7 +251,7 @@ tap.todo('implement user deletion', async () => {
243
251
  **Browser Testing**
244
252
  ```typescript
245
253
  // test.browser.ts
246
- import { tap, webhelpers } from '@push.rocks/tapbundle';
254
+ import { tap, webhelpers } from '@git.zone/tstest/tapbundle';
247
255
 
248
256
  tap.test('DOM manipulation', async () => {
249
257
  const element = await webhelpers.fixture(webhelpers.html`
@@ -322,8 +330,9 @@ tstest test/ --quiet
322
330
 
323
331
  ## Changelog
324
332
 
325
- ### Version 1.7.0
326
- - 🎉 Made `@push.rocks/tapbundle` fully browser-compatible
333
+ ### Version 1.8.0
334
+ - 📦 Embedded tapbundle directly into tstest project
335
+ - 🌐 Made tapbundle fully browser-compatible
327
336
  - 📸 Added snapshot testing with base64-encoded communication protocol
328
337
  - 🏷️ Introduced tag-based test filtering
329
338
  - 🔧 Enhanced test lifecycle hooks (beforeEach/afterEach)
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@git.zone/tstest',
6
- version: '1.8.0',
6
+ version: '1.9.1',
7
7
  description: 'a test utility to run tests that match test/**/*.ts'
8
8
  }