@loopstack/testing-examples 0.1.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 +22 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/testing-examples.module.d.ts +3 -0
- package/dist/testing-examples.module.d.ts.map +1 -0
- package/dist/testing-examples.module.js +22 -0
- package/dist/testing-examples.module.js.map +1 -0
- package/package.json +44 -0
- package/src/index.ts +1 -0
- package/src/testing-examples.module.ts +9 -0
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Testing Examples (placeholder)
|
|
3
|
+
description: Placeholder for workflow testing examples in Loopstack — @loopstack/testing fixtures, transition assertions, mocked LLM responses (coming soon)
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# @loopstack/testing-examples
|
|
7
|
+
|
|
8
|
+
> Workflow testing examples for the [Loopstack](https://loopstack.ai) automation framework. **Placeholder — examples coming soon.**
|
|
9
|
+
|
|
10
|
+
This module is reserved for future workflow-testing examples:
|
|
11
|
+
|
|
12
|
+
- Using `@loopstack/testing` fixtures
|
|
13
|
+
- Asserting on transitions and final state
|
|
14
|
+
- Mocking LLM responses for deterministic tests
|
|
15
|
+
|
|
16
|
+
Track progress in the [Loopstack GitHub repo](https://github.com/loopstack-ai/loopstack/issues).
|
|
17
|
+
|
|
18
|
+
## About
|
|
19
|
+
|
|
20
|
+
Author: [Jakob Klippel](https://www.linkedin.com/in/jakob-klippel/)
|
|
21
|
+
|
|
22
|
+
License: MIT
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./testing-examples.module"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testing-examples.module.d.ts","sourceRoot":"","sources":["../src/testing-examples.module.ts"],"names":[],"mappings":"AAGA,qBAKa,qBAAqB;CAAG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.TestingExamplesModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const common_2 = require("@loopstack/common");
|
|
12
|
+
let TestingExamplesModule = class TestingExamplesModule {
|
|
13
|
+
};
|
|
14
|
+
exports.TestingExamplesModule = TestingExamplesModule;
|
|
15
|
+
exports.TestingExamplesModule = TestingExamplesModule = __decorate([
|
|
16
|
+
(0, common_2.StudioApp)({
|
|
17
|
+
title: 'Testing Examples',
|
|
18
|
+
workflows: [],
|
|
19
|
+
}),
|
|
20
|
+
(0, common_1.Module)({})
|
|
21
|
+
], TestingExamplesModule);
|
|
22
|
+
//# sourceMappingURL=testing-examples.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testing-examples.module.js","sourceRoot":"","sources":["../src/testing-examples.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,8CAA8C;AAOvC,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CAAG,CAAA;AAAxB,sDAAqB;gCAArB,qBAAqB;IALjC,IAAA,kBAAS,EAAC;QACT,KAAK,EAAE,kBAAkB;QACzB,SAAS,EAAE,EAAE;KACd,CAAC;IACD,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,qBAAqB,CAAG"}
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@loopstack/testing-examples",
|
|
3
|
+
"displayName": "Loopstack Testing Examples",
|
|
4
|
+
"description": "Placeholder for workflow testing examples — fixtures, assertions, mocked LLM responses (coming soon).",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"loopstack",
|
|
7
|
+
"example",
|
|
8
|
+
"testing",
|
|
9
|
+
"workflow"
|
|
10
|
+
],
|
|
11
|
+
"version": "0.1.0",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"author": {
|
|
14
|
+
"name": "Jakob Klippel",
|
|
15
|
+
"url": "https://www.linkedin.com/in/jakob-klippel/"
|
|
16
|
+
},
|
|
17
|
+
"main": "dist/index.js",
|
|
18
|
+
"types": "dist/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": "./dist/index.js",
|
|
21
|
+
"./src/*": "./src/*"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "nest build",
|
|
25
|
+
"compile": "tsc --noEmit",
|
|
26
|
+
"format": "prettier --write .",
|
|
27
|
+
"lint": "eslint .",
|
|
28
|
+
"test": "vitest run --passWithNoTests",
|
|
29
|
+
"watch": "nest build --watch"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@loopstack/common": "*",
|
|
33
|
+
"@nestjs/common": "^11.1.19"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist",
|
|
37
|
+
"src"
|
|
38
|
+
],
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"vitest": "^4.1.6",
|
|
41
|
+
"@swc/core": "^1.15.33",
|
|
42
|
+
"unplugin-swc": "^1.5.9"
|
|
43
|
+
}
|
|
44
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './testing-examples.module';
|