testeranto 0.79.5 → 0.79.6
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/TaskMan1.Dockerfile +1 -0
- package/package.json +1 -1
- package/dist/common/Features.js +0 -84
- package/dist/common/Node.js +0 -23
- package/dist/common/PM/index.js +0 -7
- package/dist/common/PM/main.js +0 -641
- package/dist/common/PM/node.js +0 -88
- package/dist/common/PM/web.js +0 -132
- package/dist/common/Project.js +0 -186
- package/dist/common/Puppeteer.js +0 -104
- package/dist/common/Reporter.js +0 -112
- package/dist/common/Scheduler.js +0 -1
- package/dist/common/SubPackages/puppeteer.js +0 -21
- package/dist/common/SubPackages/react/component/node.js +0 -19
- package/dist/common/SubPackages/react/component/web.js +0 -19
- package/dist/common/SubPackages/react/jsx/index.js +0 -25
- package/dist/common/SubPackages/react/jsx/node.js +0 -10
- package/dist/common/SubPackages/react/jsx/web.js +0 -10
- package/dist/common/SubPackages/react-dom/component/node.js +0 -101
- package/dist/common/SubPackages/react-dom/component/web.js +0 -93
- package/dist/common/SubPackages/react-dom/jsx/index.js +0 -2
- package/dist/common/SubPackages/react-dom/jsx/node.js +0 -39
- package/dist/common/SubPackages/react-dom/jsx/web.js +0 -118
- package/dist/common/SubPackages/react-test-renderer/MemoExoticComponent/node.js +0 -44
- package/dist/common/SubPackages/react-test-renderer/component/index.js +0 -2
- package/dist/common/SubPackages/react-test-renderer/component/interface.js +0 -68
- package/dist/common/SubPackages/react-test-renderer/component/node.js +0 -8
- package/dist/common/SubPackages/react-test-renderer/component/web.js +0 -8
- package/dist/common/SubPackages/react-test-renderer/fc/node.js +0 -50
- package/dist/common/SubPackages/react-test-renderer/fc/web.js +0 -50
- package/dist/common/SubPackages/react-test-renderer/jsx/index.js +0 -48
- package/dist/common/SubPackages/react-test-renderer/jsx/node.js +0 -10
- package/dist/common/SubPackages/react-test-renderer/jsx/web.js +0 -10
- package/dist/common/SubPackages/react-test-renderer/jsx-promised/index.js +0 -42
- package/dist/common/SubPackages/react-test-renderer/jsx-promised/node.js +0 -10
- package/dist/common/SubPackages/react-test-renderer/jsx-promised/web.js +0 -10
- package/dist/common/TaskManBackEnd.js +0 -174
- package/dist/common/Types.js +0 -2
- package/dist/common/Web.js +0 -39
- package/dist/common/esbuildConfigs/features.js +0 -14
- package/dist/common/esbuildConfigs/index.js +0 -21
- package/dist/common/esbuildConfigs/inputFilesPlugin.js +0 -49
- package/dist/common/esbuildConfigs/node.js +0 -39
- package/dist/common/esbuildConfigs/report.js +0 -13
- package/dist/common/esbuildConfigs/tests.js +0 -13
- package/dist/common/esbuildConfigs/web.js +0 -57
- package/dist/common/lib/abstractBase.js +0 -553
- package/dist/common/lib/basebuilder.js +0 -79
- package/dist/common/lib/classBuilder.js +0 -42
- package/dist/common/lib/core.js +0 -75
- package/dist/common/lib/index.js +0 -22
- package/dist/common/lib/types.js +0 -2
- package/dist/common/mongooseSchemas.js +0 -56
- package/dist/common/package.json +0 -3
- package/dist/common/preload.js +0 -15
- package/dist/common/puppeteerConfiger.js +0 -24
- package/dist/common/report.html.js +0 -31
- package/dist/common/tsconfig.common.tsbuildinfo +0 -1
- package/dist/common/utils.js +0 -16
- package/dist/common/web.html.js +0 -22
- package/dist/module/ExampleTab.js +0 -112
- package/dist/module/Features.js +0 -73
- package/dist/module/Node.js +0 -18
- package/dist/module/PM/index.js +0 -3
- package/dist/module/PM/main.js +0 -611
- package/dist/module/PM/node.js +0 -81
- package/dist/module/PM/web.js +0 -125
- package/dist/module/Project.js +0 -179
- package/dist/module/Puppeteer.js +0 -99
- package/dist/module/Reporter.js +0 -107
- package/dist/module/Scheduler.js +0 -1
- package/dist/module/SubPackages/puppeteer.js +0 -16
- package/dist/module/SubPackages/react/component/node.js +0 -14
- package/dist/module/SubPackages/react/component/web.js +0 -14
- package/dist/module/SubPackages/react/jsx/index.js +0 -19
- package/dist/module/SubPackages/react/jsx/node.js +0 -5
- package/dist/module/SubPackages/react/jsx/web.js +0 -5
- package/dist/module/SubPackages/react-dom/component/node.js +0 -93
- package/dist/module/SubPackages/react-dom/component/web.js +0 -88
- package/dist/module/SubPackages/react-dom/jsx/index.js +0 -1
- package/dist/module/SubPackages/react-dom/jsx/node.js +0 -31
- package/dist/module/SubPackages/react-dom/jsx/web.js +0 -90
- package/dist/module/SubPackages/react-test-renderer/MemoExoticComponent/node.js +0 -16
- package/dist/module/SubPackages/react-test-renderer/component/index.js +0 -1
- package/dist/module/SubPackages/react-test-renderer/component/interface.js +0 -39
- package/dist/module/SubPackages/react-test-renderer/component/node.js +0 -3
- package/dist/module/SubPackages/react-test-renderer/component/web.js +0 -3
- package/dist/module/SubPackages/react-test-renderer/fc/node.js +0 -22
- package/dist/module/SubPackages/react-test-renderer/fc/web.js +0 -22
- package/dist/module/SubPackages/react-test-renderer/jsx/index.js +0 -19
- package/dist/module/SubPackages/react-test-renderer/jsx/node.js +0 -5
- package/dist/module/SubPackages/react-test-renderer/jsx/web.js +0 -5
- package/dist/module/SubPackages/react-test-renderer/jsx-promised/index.js +0 -16
- package/dist/module/SubPackages/react-test-renderer/jsx-promised/node.js +0 -5
- package/dist/module/SubPackages/react-test-renderer/jsx-promised/web.js +0 -5
- package/dist/module/TaskManBackEnd.js +0 -169
- package/dist/module/TaskManFrontEnd.js +0 -600
- package/dist/module/Types.js +0 -1
- package/dist/module/Web.js +0 -34
- package/dist/module/esbuildConfigs/features.js +0 -12
- package/dist/module/esbuildConfigs/index.js +0 -19
- package/dist/module/esbuildConfigs/inputFilesPlugin.js +0 -44
- package/dist/module/esbuildConfigs/node.js +0 -34
- package/dist/module/esbuildConfigs/report.js +0 -11
- package/dist/module/esbuildConfigs/tests.js +0 -11
- package/dist/module/esbuildConfigs/web.js +0 -52
- package/dist/module/lib/abstractBase.js +0 -545
- package/dist/module/lib/basebuilder.js +0 -75
- package/dist/module/lib/classBuilder.js +0 -38
- package/dist/module/lib/core.js +0 -72
- package/dist/module/lib/index.js +0 -18
- package/dist/module/lib/types.js +0 -1
- package/dist/module/mongooseSchemas.js +0 -50
- package/dist/module/package.json +0 -3
- package/dist/module/preload.js +0 -15
- package/dist/module/puppeteerConfiger.js +0 -19
- package/dist/module/report.html.js +0 -29
- package/dist/module/tsconfig.module.tsbuildinfo +0 -1
- package/dist/module/utils.js +0 -9
- package/dist/module/web.html.js +0 -20
- package/dist/prebuild/Report.css +0 -11358
- package/dist/prebuild/Report.js +0 -37666
- package/dist/prebuild/TaskManBackEnd.mjs +0 -180
- package/dist/prebuild/TaskManFrontEnd.css +0 -12301
- package/dist/prebuild/TaskManFrontEnd.js +0 -81737
- package/dist/types/Features.d.ts +0 -68
- package/dist/types/Node.d.ts +0 -6
- package/dist/types/PM/index.d.ts +0 -20
- package/dist/types/PM/main.d.ts +0 -31
- package/dist/types/PM/node.d.ts +0 -27
- package/dist/types/PM/web.d.ts +0 -25
- package/dist/types/Project.d.ts +0 -7
- package/dist/types/Puppeteer.d.ts +0 -1
- package/dist/types/Reporter.d.ts +0 -1
- package/dist/types/Scheduler.d.ts +0 -0
- package/dist/types/SubPackages/puppeteer.d.ts +0 -6
- package/dist/types/SubPackages/react/component/node.d.ts +0 -7
- package/dist/types/SubPackages/react/component/web.d.ts +0 -7
- package/dist/types/SubPackages/react/jsx/index.d.ts +0 -12
- package/dist/types/SubPackages/react/jsx/node.d.ts +0 -4
- package/dist/types/SubPackages/react/jsx/web.d.ts +0 -4
- package/dist/types/SubPackages/react-dom/component/node.d.ts +0 -12
- package/dist/types/SubPackages/react-dom/component/web.d.ts +0 -11
- package/dist/types/SubPackages/react-dom/jsx/index.d.ts +0 -6
- package/dist/types/SubPackages/react-dom/jsx/node.d.ts +0 -6
- package/dist/types/SubPackages/react-dom/jsx/web.d.ts +0 -5
- package/dist/types/SubPackages/react-test-renderer/MemoExoticComponent/node.d.ts +0 -5
- package/dist/types/SubPackages/react-test-renderer/component/index.d.ts +0 -13
- package/dist/types/SubPackages/react-test-renderer/component/interface.d.ts +0 -9
- package/dist/types/SubPackages/react-test-renderer/component/node.d.ts +0 -8
- package/dist/types/SubPackages/react-test-renderer/component/web.d.ts +0 -3
- package/dist/types/SubPackages/react-test-renderer/fc/node.d.ts +0 -8
- package/dist/types/SubPackages/react-test-renderer/fc/web.d.ts +0 -8
- package/dist/types/SubPackages/react-test-renderer/jsx/index.d.ts +0 -16
- package/dist/types/SubPackages/react-test-renderer/jsx/node.d.ts +0 -8
- package/dist/types/SubPackages/react-test-renderer/jsx/web.d.ts +0 -8
- package/dist/types/SubPackages/react-test-renderer/jsx-promised/index.d.ts +0 -15
- package/dist/types/SubPackages/react-test-renderer/jsx-promised/node.d.ts +0 -4
- package/dist/types/SubPackages/react-test-renderer/jsx-promised/web.d.ts +0 -4
- package/dist/types/TaskManBackEnd.d.ts +0 -1
- package/dist/types/Types.d.ts +0 -50
- package/dist/types/Web.d.ts +0 -6
- package/dist/types/esbuildConfigs/features.d.ts +0 -4
- package/dist/types/esbuildConfigs/index.d.ts +0 -4
- package/dist/types/esbuildConfigs/inputFilesPlugin.d.ts +0 -5
- package/dist/types/esbuildConfigs/node.d.ts +0 -4
- package/dist/types/esbuildConfigs/report.d.ts +0 -4
- package/dist/types/esbuildConfigs/tests.d.ts +0 -4
- package/dist/types/esbuildConfigs/web.d.ts +0 -4
- package/dist/types/lib/abstractBase.d.ts +0 -104
- package/dist/types/lib/basebuilder.d.ts +0 -27
- package/dist/types/lib/classBuilder.d.ts +0 -7
- package/dist/types/lib/core.d.ts +0 -8
- package/dist/types/lib/index.d.ts +0 -59
- package/dist/types/lib/types.d.ts +0 -64
- package/dist/types/mongooseSchemas.d.ts +0 -124
- package/dist/types/preload.d.ts +0 -0
- package/dist/types/puppeteerConfiger.d.ts +0 -4
- package/dist/types/report.html.d.ts +0 -2
- package/dist/types/tsconfig.types.tsbuildinfo +0 -1
- package/dist/types/utils.d.ts +0 -2
- package/dist/types/web.html.d.ts +0 -2
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ClassBuilder = void 0;
|
|
4
|
-
const basebuilder_js_1 = require("./basebuilder.js");
|
|
5
|
-
class ClassBuilder extends basebuilder_js_1.BaseBuilder {
|
|
6
|
-
constructor(testImplementation, testSpecification, input, suiteKlasser, givenKlasser, whenKlasser, thenKlasser, checkKlasser, testResourceRequirement) {
|
|
7
|
-
const classySuites = Object.entries(testImplementation.suites).reduce((a, [key], index) => {
|
|
8
|
-
a[key] = (somestring, givens, checks) => {
|
|
9
|
-
return new suiteKlasser.prototype.constructor(somestring, index, givens, checks);
|
|
10
|
-
};
|
|
11
|
-
return a;
|
|
12
|
-
}, {});
|
|
13
|
-
const classyGivens = Object.entries(testImplementation.givens).reduce((a, [key, givEn]) => {
|
|
14
|
-
a[key] = (features, whens, thens, givEn) => {
|
|
15
|
-
return new givenKlasser.prototype.constructor(key, features, whens, thens, testImplementation.givens[key], givEn);
|
|
16
|
-
};
|
|
17
|
-
return a;
|
|
18
|
-
}, {});
|
|
19
|
-
const classyWhens = Object.entries(testImplementation.whens).reduce((a, [key, whEn]) => {
|
|
20
|
-
a[key] = (payload) => {
|
|
21
|
-
return new whenKlasser.prototype.constructor(`${whEn.name}: ${payload && payload.toString()}`, whEn(payload));
|
|
22
|
-
};
|
|
23
|
-
return a;
|
|
24
|
-
}, {});
|
|
25
|
-
const classyThens = Object.entries(testImplementation.thens).reduce((a, [key, thEn]) => {
|
|
26
|
-
a[key] = (expected, x) => {
|
|
27
|
-
return new thenKlasser.prototype.constructor(`${thEn.name}: ${expected && expected.toString()}`, thEn(expected));
|
|
28
|
-
};
|
|
29
|
-
return a;
|
|
30
|
-
}, {});
|
|
31
|
-
const classyChecks = Object.entries(testImplementation.checks).reduce((a, [key, z]) => {
|
|
32
|
-
a[key] = (somestring, features, callback) => {
|
|
33
|
-
return new checkKlasser.prototype.constructor(somestring, features, callback, classyWhens, classyThens);
|
|
34
|
-
};
|
|
35
|
-
return a;
|
|
36
|
-
}, {});
|
|
37
|
-
super(input, classySuites, classyGivens, classyWhens, classyThens, classyChecks, testResourceRequirement, testSpecification
|
|
38
|
-
// puppetMaster
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.ClassBuilder = ClassBuilder;
|
package/dist/common/lib/core.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const index_js_1 = require("./index.js");
|
|
4
|
-
const abstractBase_js_1 = require("./abstractBase.js");
|
|
5
|
-
const classBuilder_js_1 = require("./classBuilder.js");
|
|
6
|
-
class Testeranto extends classBuilder_js_1.ClassBuilder {
|
|
7
|
-
constructor(input, testSpecification, testImplementation, testResourceRequirement = index_js_1.defaultTestResourceRequirement, testInterface) {
|
|
8
|
-
const fullTestInterface = (0, index_js_1.DefaultTestInterface)(testInterface);
|
|
9
|
-
super(testImplementation, testSpecification, input, class extends abstractBase_js_1.BaseSuite {
|
|
10
|
-
afterAll(store, artifactory, pm) {
|
|
11
|
-
// const pagesHandler = {
|
|
12
|
-
// get(target, prop) {
|
|
13
|
-
// console.log(`Getting pages property ${prop}`);
|
|
14
|
-
// return target[prop];
|
|
15
|
-
// },
|
|
16
|
-
// };
|
|
17
|
-
// const browserHandler = {
|
|
18
|
-
// get(target, prop) {
|
|
19
|
-
// console.log(`Getting browser property ${prop}`);
|
|
20
|
-
// if (prop === "pages") {
|
|
21
|
-
// // return target[prop];
|
|
22
|
-
// return new Proxy(target[prop], pagesHandler);
|
|
23
|
-
// } else {
|
|
24
|
-
// return target[prop];
|
|
25
|
-
// }
|
|
26
|
-
// },
|
|
27
|
-
// };
|
|
28
|
-
// const proxy = new Proxy(utils.browser, browserHandler);
|
|
29
|
-
return fullTestInterface.afterAll(store, (fPath, value) => {
|
|
30
|
-
artifactory(`afterAll4-${this.name}/${fPath}`, value);
|
|
31
|
-
}, pm);
|
|
32
|
-
}
|
|
33
|
-
assertThat(t) {
|
|
34
|
-
fullTestInterface.assertThis(t);
|
|
35
|
-
}
|
|
36
|
-
async setup(s, artifactory, tr, pm) {
|
|
37
|
-
return (fullTestInterface.beforeAll ||
|
|
38
|
-
(async (input, artifactory, tr, pm) => input))(s, this.testResourceConfiguration, artifactory, pm);
|
|
39
|
-
}
|
|
40
|
-
}, class Given extends abstractBase_js_1.BaseGiven {
|
|
41
|
-
async givenThat(subject, testResource, artifactory, initializer, pm) {
|
|
42
|
-
return fullTestInterface.beforeEach(subject, initializer, (fPath, value) =>
|
|
43
|
-
// TODO does not work?
|
|
44
|
-
artifactory(`beforeEach/${fPath}`, value), testResource, this.initialValues, pm);
|
|
45
|
-
}
|
|
46
|
-
afterEach(store, key, artifactory, pm) {
|
|
47
|
-
return new Promise((res) => res(fullTestInterface.afterEach(store, key, (fPath, value) => artifactory(`after/${fPath}`, value), pm)));
|
|
48
|
-
}
|
|
49
|
-
}, class When extends abstractBase_js_1.BaseWhen {
|
|
50
|
-
async andWhen(store, whenCB, testResource, pm) {
|
|
51
|
-
return await fullTestInterface.andWhen(store, whenCB, testResource, pm);
|
|
52
|
-
}
|
|
53
|
-
}, class Then extends abstractBase_js_1.BaseThen {
|
|
54
|
-
async butThen(store, thenCB, testResourceConfiguration, pm) {
|
|
55
|
-
return await fullTestInterface.butThen(store, thenCB, testResourceConfiguration, pm);
|
|
56
|
-
}
|
|
57
|
-
}, class Check extends abstractBase_js_1.BaseCheck {
|
|
58
|
-
constructor(name, features, checkCallback, whens, thens, initialValues) {
|
|
59
|
-
super(name, features, checkCallback, whens, thens);
|
|
60
|
-
this.initialValues = initialValues;
|
|
61
|
-
}
|
|
62
|
-
async checkThat(subject, testResourceConfiguration, artifactory, pm) {
|
|
63
|
-
return fullTestInterface.beforeEach(subject, this.initialValues, (fPath, value) => artifactory(`before/${fPath}`, value), testResourceConfiguration, this.initialValues, pm);
|
|
64
|
-
}
|
|
65
|
-
afterEach(store, key, artifactory, pm) {
|
|
66
|
-
return new Promise((res) => res(fullTestInterface.afterEach(store, key, (fPath, value) =>
|
|
67
|
-
// TODO does not work?
|
|
68
|
-
artifactory(`afterEach2-${this.name}/${fPath}`, value), pm)));
|
|
69
|
-
}
|
|
70
|
-
}, testResourceRequirement
|
|
71
|
-
// puppetMaster
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
exports.default = Testeranto;
|
package/dist/common/lib/index.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultTestResourceRequirement = exports.DefaultTestInterface = exports.BaseTestInterface = void 0;
|
|
4
|
-
// import { INodeUtils, ITestInterface, IUtils, IWebUtils } from "./types.js";
|
|
5
|
-
exports.BaseTestInterface = {
|
|
6
|
-
beforeAll: async (s) => s,
|
|
7
|
-
beforeEach: async function (subject, initialValues, x, testResource, pm) {
|
|
8
|
-
return subject;
|
|
9
|
-
},
|
|
10
|
-
afterEach: async (s) => s,
|
|
11
|
-
afterAll: (store) => undefined,
|
|
12
|
-
butThen: async (store, thenCb) => thenCb(store),
|
|
13
|
-
andWhen: (a) => a,
|
|
14
|
-
assertThis: () => null,
|
|
15
|
-
};
|
|
16
|
-
const DefaultTestInterface = (p) => {
|
|
17
|
-
return Object.assign(Object.assign({}, exports.BaseTestInterface), p);
|
|
18
|
-
};
|
|
19
|
-
exports.DefaultTestInterface = DefaultTestInterface;
|
|
20
|
-
exports.defaultTestResourceRequirement = {
|
|
21
|
-
ports: 0,
|
|
22
|
-
};
|
package/dist/common/lib/types.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.RoomSchema = exports.HuddleSchema = exports.chatCatMessageSchema = exports.channelsFeature = exports.featuresSchema = exports.ganttSchema = exports.kanbanSchema = exports.userSchema = void 0;
|
|
7
|
-
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
|
-
exports.userSchema = new mongoose_1.default.Schema({
|
|
9
|
-
email: String,
|
|
10
|
-
channels: [{ type: mongoose_1.default.Schema.Types.ObjectId, ref: "Channel" }],
|
|
11
|
-
dmgroups: [{ type: mongoose_1.default.Schema.Types.ObjectId, ref: "Dmgroup" }],
|
|
12
|
-
});
|
|
13
|
-
exports.userSchema.virtual("features", {
|
|
14
|
-
ref: "Feature",
|
|
15
|
-
localField: "_id",
|
|
16
|
-
foreignField: "owner",
|
|
17
|
-
});
|
|
18
|
-
exports.kanbanSchema = new mongoose_1.default.Schema({
|
|
19
|
-
title: String,
|
|
20
|
-
});
|
|
21
|
-
exports.ganttSchema = new mongoose_1.default.Schema({
|
|
22
|
-
name: String,
|
|
23
|
-
type: String,
|
|
24
|
-
start: Date,
|
|
25
|
-
end: Date,
|
|
26
|
-
});
|
|
27
|
-
exports.featuresSchema = new mongoose_1.default.Schema({
|
|
28
|
-
title: String,
|
|
29
|
-
state: String,
|
|
30
|
-
});
|
|
31
|
-
exports.channelsFeature = new mongoose_1.default.Schema({});
|
|
32
|
-
exports.chatCatMessageSchema = new mongoose_1.default.Schema({
|
|
33
|
-
user: {
|
|
34
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
35
|
-
ref: "User",
|
|
36
|
-
required: true,
|
|
37
|
-
},
|
|
38
|
-
room: {
|
|
39
|
-
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
40
|
-
ref: "ChatCatRoom",
|
|
41
|
-
required: true,
|
|
42
|
-
maxlength: 100,
|
|
43
|
-
},
|
|
44
|
-
timestamp: {
|
|
45
|
-
type: Date,
|
|
46
|
-
default: Date.now(),
|
|
47
|
-
},
|
|
48
|
-
text: {
|
|
49
|
-
type: String,
|
|
50
|
-
maxlength: 1000,
|
|
51
|
-
},
|
|
52
|
-
});
|
|
53
|
-
exports.HuddleSchema = new mongoose_1.default.Schema({});
|
|
54
|
-
exports.RoomSchema = new mongoose_1.default.Schema({
|
|
55
|
-
name: { type: String, required: true },
|
|
56
|
-
});
|
package/dist/common/package.json
DELETED
package/dist/common/preload.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import puppeteer from "puppeteer-core";
|
|
3
|
-
// import { NodeWriter } from "./NodeWriter";
|
|
4
|
-
// import puppeteerConfiger from "./puppeteerConfiger";
|
|
5
|
-
// (window as any).NodeWriter = NodeWriter;
|
|
6
|
-
// (window as any).browser = new Promise(async (res, rej) => {
|
|
7
|
-
// const browser = await puppeteerConfiger("2999").then(async (json) => {
|
|
8
|
-
// const b = await puppeteer.connect({
|
|
9
|
-
// browserWSEndpoint: json.webSocketDebuggerUrl,
|
|
10
|
-
// defaultViewport: null,
|
|
11
|
-
// });
|
|
12
|
-
// console.log("connected!", b.isConnected());
|
|
13
|
-
// return res(b);
|
|
14
|
-
// });
|
|
15
|
-
// });
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const http_1 = __importDefault(require("http"));
|
|
7
|
-
exports.default = async (port) => new Promise((resolve, reject) => {
|
|
8
|
-
let json = "";
|
|
9
|
-
const request = http_1.default.request({
|
|
10
|
-
host: "127.0.0.1",
|
|
11
|
-
path: "/json/version",
|
|
12
|
-
port,
|
|
13
|
-
}, (response) => {
|
|
14
|
-
response.on("error", reject);
|
|
15
|
-
response.on("data", (chunk) => {
|
|
16
|
-
json += chunk.toString();
|
|
17
|
-
});
|
|
18
|
-
response.on("end", () => {
|
|
19
|
-
resolve(JSON.parse(json));
|
|
20
|
-
});
|
|
21
|
-
});
|
|
22
|
-
request.on("error", reject);
|
|
23
|
-
request.end();
|
|
24
|
-
});
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = () => `
|
|
4
|
-
<!DOCTYPE html>
|
|
5
|
-
<html lang="en">
|
|
6
|
-
|
|
7
|
-
<head>
|
|
8
|
-
<meta name="description" content="Webpage description goes here" />
|
|
9
|
-
<meta charset="utf-8" />
|
|
10
|
-
<title>kokomoBay - testeranto</title>
|
|
11
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
-
<meta name="author" content="" />
|
|
13
|
-
|
|
14
|
-
<link rel="stylesheet" href="./Report.css">
|
|
15
|
-
|
|
16
|
-
<script type="importmap">
|
|
17
|
-
{
|
|
18
|
-
"imports": {
|
|
19
|
-
"features.test.js": "./features.test.js",
|
|
20
|
-
"testeranto.json": "./testeranto.json"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
</script>
|
|
24
|
-
|
|
25
|
-
<script type="module" src="./Report.js"></script>
|
|
26
|
-
</head>
|
|
27
|
-
|
|
28
|
-
<body><div id="root">react is loading</div></body>
|
|
29
|
-
|
|
30
|
-
</html>
|
|
31
|
-
`;
|