@everystate/test 1.0.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/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ Copyright (c) 2026 Ajdin Imsirovic
2
+
3
+ All rights reserved.
4
+
5
+ This software is proprietary and confidential. Unauthorized copying, distribution, or modification of this software, via any medium, is strictly prohibited.
6
+
7
+ For licensing inquiries, contact:
8
+ Ajdin Imsirovic
9
+ https://www.linkedin.com/in/ajdin-imsirovic
package/README.md ADDED
@@ -0,0 +1,42 @@
1
+ # @everystate/test
2
+
3
+ **Testing library for EveryState with TDD-style assertions**
4
+
5
+ Zero-dependency testing library for EveryState. Assert on state changes, event sequences, and types.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @everystate/test @everystate/core
11
+ ```
12
+
13
+ ## Quick Start
14
+
15
+ ```js
16
+ import { createEventState } from '@everystate/core';
17
+ import { test, assert } from '@everystate/event-test';
18
+
19
+ test('counter increments', () => {
20
+ const store = createEventState({ count: 0 });
21
+
22
+ store.set('count', 1);
23
+ assert.equal(store.get('count'), 1);
24
+
25
+ store.set('count', 2);
26
+ assert.equal(store.get('count'), 2);
27
+ });
28
+ ```
29
+
30
+ ## Features
31
+
32
+ - **Zero dependencies** No external test framework needed
33
+ - **TDD-style assertions** `assert.equal`, `assert.deepEqual`, etc.
34
+ - **Event sequence testing** Track order of state changes
35
+ - **Type extraction** Infer types from state
36
+ - **Fast** 100 tests in ~0.5ms
37
+
38
+ ## License
39
+
40
+ Proprietary - See LICENSE.md for details.
41
+
42
+ © 2026 Ajdin Imsirovic. All rights reserved.
package/index.js ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @everystate/test
3
+ *
4
+ * EveryState wrapper for @uistate/event-test
5
+ * Re-exports all functionality from the underlying @uistate/event-test package
6
+ */
7
+
8
+ export * from '@uistate/event-test';
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "@everystate/test",
3
+ "version": "1.0.0",
4
+ "description": "EveryState Test: Testing library with TDD-style assertions and event-sequence tracking",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "keywords": [
8
+ "everystate",
9
+ "testing",
10
+ "event-testing",
11
+ "tdd",
12
+ "state-testing",
13
+ "type-extraction",
14
+ "event-sequence",
15
+ "zero-dependency"
16
+ ],
17
+ "author": {
18
+ "name": "Ajdin Imsirovic",
19
+ "url": "https://www.linkedin.com/in/ajdin-imsirovic"
20
+ },
21
+ "license": "SEE LICENSE IN LICENSE.md",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://github.com/ImsirovicAjdin/everystate-test"
25
+ },
26
+ "files": [
27
+ "index.js",
28
+ "README.md",
29
+ "LICENSE.md"
30
+ ],
31
+ "dependencies": {
32
+ "@uistate/event-test": "^1.0.1"
33
+ }
34
+ }