generaltranslation 7.3.0 → 7.3.1-alpha.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/README.md +1 -8
- package/dist/index.cjs.min.cjs +3 -3
- package/dist/index.cjs.min.cjs.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.esm.min.mjs +3 -3
- package/dist/index.esm.min.mjs.map +1 -1
- package/dist/internal.cjs.min.cjs +1 -1
- package/dist/internal.cjs.min.cjs.map +1 -1
- package/dist/internal.d.ts +2 -1
- package/dist/internal.esm.min.mjs +1 -1
- package/dist/internal.esm.min.mjs.map +1 -1
- package/dist/logging/errors.d.ts +1 -1
- package/dist/types-dir/entry.d.ts +2 -0
- package/dist/types.d.ts +2 -0
- package/package.json +3 -3
package/README.md
CHANGED
@@ -30,7 +30,6 @@ This project uses [Vitest](https://vitest.dev/) for testing with two types of te
|
|
30
30
|
### Test Types
|
31
31
|
|
32
32
|
- **Unit Tests** (`__tests__/`): Fast, isolated tests with mocking
|
33
|
-
- **E2E Tests** (`__e2e__/`): Integration tests against real/local services
|
34
33
|
|
35
34
|
### Running Tests
|
36
35
|
|
@@ -41,9 +40,6 @@ npm test
|
|
41
40
|
# Run only unit tests
|
42
41
|
npm test -- __tests__
|
43
42
|
|
44
|
-
# Run only e2e tests
|
45
|
-
npm test -- __e2e__
|
46
|
-
|
47
43
|
# Run tests in watch mode
|
48
44
|
npm run test:watch
|
49
45
|
|
@@ -86,7 +82,7 @@ _GT_LOG_LEVEL=debug # Options: debug, info, warn, error (default: warn)
|
|
86
82
|
|
87
83
|
```bash
|
88
84
|
# Development workflow
|
89
|
-
_GT_LOG_LEVEL=debug npm test --
|
85
|
+
_GT_LOG_LEVEL=debug npm test --reporter=verbose
|
90
86
|
|
91
87
|
# Quick unit test validation
|
92
88
|
npm test -- __tests__
|
@@ -104,9 +100,6 @@ npm run test:watch -- __tests__/
|
|
104
100
|
__tests__/ # Unit tests with mocking
|
105
101
|
├── logging/ # Logger functionality tests
|
106
102
|
└── translate/ # Translation logic tests
|
107
|
-
|
108
|
-
__e2e__/ # End-to-end integration tests
|
109
|
-
└── translate/ # Translation API integration tests
|
110
103
|
```
|
111
104
|
|
112
105
|
## Contributing
|