Skip to content

Commit

Permalink
stash
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwong246 committed Oct 21, 2024
1 parent 88878dc commit d648a14
Show file tree
Hide file tree
Showing 76 changed files with 20,211 additions and 139,122 deletions.
Binary file added bannana5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 7 additions & 4 deletions docs/node/chunk-GXQNQMDB.mjs → docs/node/chunk-6WZF5PJ5.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {

// ../testeranto/dist/module/Node.js
init_cjs_shim();
import http from "http";

// ../testeranto/dist/module/lib/core.js
init_cjs_shim();
Expand Down Expand Up @@ -443,8 +442,10 @@ var NodeWriter = {
}
};

// ../testeranto/dist/module/Node.js
var readJson = async (port) => new Promise((resolve, reject) => {
// ../testeranto/dist/module/puppeteerConfiger.js
init_cjs_shim();
import http from "http";
var puppeteerConfiger_default = async (port) => new Promise((resolve, reject) => {
let json = "";
const request = http.request({
host: "127.0.0.1",
Expand All @@ -462,6 +463,8 @@ var readJson = async (port) => new Promise((resolve, reject) => {
request.on("error", reject);
request.end();
});

// ../testeranto/dist/module/Node.js
var NodeTesteranto = class extends Testeranto {
constructor(input, testSpecification, testImplementation, testResourceRequirement, testInterface) {
super(input, testSpecification, testImplementation, testResourceRequirement, NodeWriter, testInterface);
Expand All @@ -477,7 +480,7 @@ var NodeTesteranto = class extends Testeranto {
}
}
async receiveTestResourceConfig(t, partialTestResource) {
const browser = await readJson("2999").then(async (json) => {
const browser = await puppeteerConfiger_default("2999").then(async (json) => {
const b = await puppeteer_core_default.connect({
browserWSEndpoint: json.webSocketDebuggerUrl,
defaultViewport: null
Expand Down
77 changes: 33 additions & 44 deletions docs/node/chunk-E35W5QIZ.mjs → docs/node/chunk-7FLCGHSA.mjs

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions docs/node/chunk-YKFBLOXF.mjs → docs/node/chunk-ATCKVWWQ.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {

// ../testeranto/src/Node.ts
init_cjs_shim();
import http from "http";

// ../testeranto/src/lib/core.ts
init_cjs_shim();
Expand Down Expand Up @@ -633,8 +632,10 @@ var NodeWriter = {
}
};

// ../testeranto/src/Node.ts
var readJson = async (port) => new Promise((resolve, reject) => {
// ../testeranto/src/puppeteerConfiger.ts
init_cjs_shim();
import http from "http";
var puppeteerConfiger_default = async (port) => new Promise((resolve, reject) => {
let json = "";
const request = http.request(
{
Expand All @@ -655,6 +656,8 @@ var readJson = async (port) => new Promise((resolve, reject) => {
request.on("error", reject);
request.end();
});

// ../testeranto/src/Node.ts
var NodeTesteranto = class extends Testeranto {
constructor(input, testSpecification, testImplementation, testResourceRequirement, testInterface) {
super(
Expand All @@ -679,7 +682,7 @@ var NodeTesteranto = class extends Testeranto {
}
}
async receiveTestResourceConfig(t, partialTestResource) {
const browser = await readJson("2999").then(async (json) => {
const browser = await puppeteerConfiger_default("2999").then(async (json) => {
const b = await puppeteer_core_default.connect({
browserWSEndpoint: json.webSocketDebuggerUrl,
defaultViewport: null
Expand Down
22 changes: 0 additions & 22 deletions docs/node/chunk-CUVXOMUQ.mjs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createRequire } from 'module';const require = createRequire(import.meta.url);
import {
Node_default
} from "./chunk-GXQNQMDB.mjs";
} from "./chunk-6WZF5PJ5.mjs";
import {
__commonJS,
__require,
Expand Down
71 changes: 68 additions & 3 deletions docs/node/chunk-CSGRHIRJ.mjs → docs/node/chunk-Q7IN32QK.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import { createRequire } from 'module';const require = createRequire(import.meta.url);
import {
require_defineProperty
} from "./chunk-QDDCF6MK.mjs";
import {
__commonJS,
__toESM,
Expand Down Expand Up @@ -2244,6 +2241,74 @@ var require_dist = __commonJS({
}
});

// node_modules/@babel/runtime/helpers/typeof.js
var require_typeof = __commonJS({
"node_modules/@babel/runtime/helpers/typeof.js"(exports, module) {
init_cjs_shim();
function _typeof(o) {
"@babel/helpers - typeof";
return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
return typeof o2;
} : function(o2) {
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
}
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
}
});

// node_modules/@babel/runtime/helpers/toPrimitive.js
var require_toPrimitive = __commonJS({
"node_modules/@babel/runtime/helpers/toPrimitive.js"(exports, module) {
init_cjs_shim();
var _typeof = require_typeof()["default"];
function toPrimitive(t, r) {
if ("object" != _typeof(t) || !t)
return t;
var e = t[Symbol.toPrimitive];
if (void 0 !== e) {
var i = e.call(t, r || "default");
if ("object" != _typeof(i))
return i;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === r ? String : Number)(t);
}
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
}
});

// node_modules/@babel/runtime/helpers/toPropertyKey.js
var require_toPropertyKey = __commonJS({
"node_modules/@babel/runtime/helpers/toPropertyKey.js"(exports, module) {
init_cjs_shim();
var _typeof = require_typeof()["default"];
var toPrimitive = require_toPrimitive();
function toPropertyKey(t) {
var i = toPrimitive(t, "string");
return "symbol" == _typeof(i) ? i : i + "";
}
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
}
});

// node_modules/@babel/runtime/helpers/defineProperty.js
var require_defineProperty = __commonJS({
"node_modules/@babel/runtime/helpers/defineProperty.js"(exports, module) {
init_cjs_shim();
var toPropertyKey = require_toPropertyKey();
function _defineProperty(e, r, t) {
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
value: t,
enumerable: true,
configurable: true,
writable: true
}) : e[r] = t, e;
}
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
}
});

// node_modules/@babel/runtime/helpers/objectSpread2.js
var require_objectSpread2 = __commonJS({
"node_modules/@babel/runtime/helpers/objectSpread2.js"(exports, module) {
Expand Down
79 changes: 0 additions & 79 deletions docs/node/chunk-QDDCF6MK.mjs

This file was deleted.

50 changes: 25 additions & 25 deletions docs/node/chunk-2X2TLOYS.mjs → docs/node/chunk-S6ZSHMIP.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,35 @@ var AppSpecification = (Suite, Given, When, Then, Check) => {
Suite.Default(
"Testing the Redux store",
{
"test0": Given.AnEmptyState(
test0: Given.AnEmptyState(
["hello"],
[When.TheEmailIsSetTo("[email protected]")],
[Then.TheEmailIs("[email protected]")]
),
test1: Given.AStateWithEmail(
["hello"],
[],
[
Then.TheEmailIsNot("[email protected]"),
Then.TheEmailIs("[email protected]")
],
"[email protected]"
),
test2: Given.AnEmptyState(
["hello"],
[When.TheEmailIsSetTo("hello"), When.TheEmailIsSetTo("aloha")],
[Then.TheEmailIs("aloha")]
),
test3: Given.AnEmptyState(
[`aloha`, `hello`],
[],
[Then.TheEmailIs("")]
),
test4: Given.AnEmptyState(
[`aloha`, `hello`],
[When.TheEmailIsSetTo("hey there")],
[Then.TheEmailIs("hey there!")]
)
// "test1": Given.AStateWithEmail(
// ['hello'],
// [],
// [
// Then.TheEmailIsNot("[email protected]"),
// Then.TheEmailIs("[email protected]"),
// ],
// "[email protected]"
// ),
// "test2": Given.AnEmptyState(
// ['hello'],
// [When.TheEmailIsSetTo("hello"), When.TheEmailIsSetTo("aloha")],
// [Then.TheEmailIs("aloha")]
// ),
// "test3": Given.AnEmptyState(
// [`aloha`, `hello`],
// [],
// [Then.TheEmailIs("")]
// ),
// "test4": Given.AnEmptyState(
// [`aloha`, `hello`],
// [When.TheEmailIsSetTo("hey there")],
// [Then.TheEmailIs("hey ther")]
// )
},
[
// Check.AnEmptyState(
Expand Down
18 changes: 14 additions & 4 deletions docs/node/chunk-7E7NTBLD.mjs → docs/node/chunk-SUGEA42X.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { createRequire } from 'module';const require = createRequire(import.meta.url);
import {
app_default
} from "./chunk-CSGRHIRJ.mjs";
import {
require_interopRequireDefault
} from "./chunk-CUVXOMUQ.mjs";
} from "./chunk-Q7IN32QK.mjs";
import {
__commonJS,
__require,
Expand Down Expand Up @@ -29611,6 +29608,19 @@ var require_useSelector = __commonJS({
}
});

// node_modules/@babel/runtime/helpers/interopRequireDefault.js
var require_interopRequireDefault = __commonJS({
"node_modules/@babel/runtime/helpers/interopRequireDefault.js"(exports, module) {
init_cjs_shim();
function _interopRequireDefault(e) {
return e && e.__esModule ? e : {
"default": e
};
}
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
}
});

// node_modules/@babel/runtime/helpers/extends.js
var require_extends = __commonJS({
"node_modules/@babel/runtime/helpers/extends.js"(exports, module) {
Expand Down
10 changes: 4 additions & 6 deletions docs/node/src/LoginPage/react-test-renderer/node.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ import {
actions,
emailwarning,
require_scheduler
} from "../../../chunk-7E7NTBLD.mjs";
} from "../../../chunk-SUGEA42X.mjs";
import {
node_default
} from "../../../chunk-BZ375RKH.mjs";
import "../../../chunk-CSGRHIRJ.mjs";
import "../../../chunk-CUVXOMUQ.mjs";
import "../../../chunk-QDDCF6MK.mjs";
import "../../../chunk-GXQNQMDB.mjs";
} from "../../../chunk-L5QXHMAC.mjs";
import "../../../chunk-Q7IN32QK.mjs";
import "../../../chunk-6WZF5PJ5.mjs";
import {
assert
} from "../../../chunk-GHFYKOO4.mjs";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ connected! true
testResourceConfiguration {
"scheduled": true,
"name": "./src/LoginPage/react-test-renderer/node.test.tsx",
"ports": [],
"ports": [
3333
],
"fs": "."
}
[]
Expand Down
Loading

0 comments on commit d648a14

Please sign in to comment.