@pezkuwi/dev 0.85.1 → 0.85.3
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/.skip-deno +0 -0
- package/README.md +547 -0
- package/config/eslint.rules.js +1 -1
- package/package.json +19 -241
- package/scripts/pezkuwi-ci-ghact-build.mjs +4 -0
- package/tsconfig.build.json +18 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.config.json +14 -0
- package/tsconfig.config.tsbuildinfo +1 -0
- package/tsconfig.scripts.json +14 -0
- package/tsconfig.scripts.tsbuildinfo +1 -0
- package/tsconfig.spec.json +18 -0
- package/tsconfig.spec.tsbuildinfo +1 -0
- package/LICENSE +0 -201
- package/cjs/detectOther.d.ts +0 -2
- package/cjs/detectOther.js +0 -3
- package/cjs/index.d.ts +0 -1
- package/cjs/index.js +0 -3
- package/cjs/package.json +0 -3
- package/cjs/packageInfo.d.ts +0 -6
- package/cjs/packageInfo.js +0 -4
- package/cjs/root.d.ts +0 -2
- package/cjs/root.js +0 -6
- package/cjs/rootJs/Clazz.d.ts +0 -18
- package/cjs/rootJs/Clazz.js +0 -36
- package/cjs/rootJs/Jsx.d.ts +0 -5
- package/cjs/rootJs/Jsx.js +0 -16
- package/cjs/rootJs/JsxChild.d.ts +0 -9
- package/cjs/rootJs/JsxChild.js +0 -9
- package/cjs/rootJs/augmented.d.ts +0 -8
- package/cjs/rootJs/augmented.js +0 -3
- package/cjs/rootJs/index.d.ts +0 -19
- package/cjs/rootJs/index.js +0 -51
- package/cjs/rootTests.d.ts +0 -2
- package/cjs/rootTests.js +0 -44
- package/cjs/sample.d.ts +0 -1
- package/cjs/sample.js +0 -4
- package/cjs/types.d.ts +0 -2
- package/cjs/types.js +0 -2
- package/detectOther.d.ts +0 -2
- package/detectOther.js +0 -1
- package/index.d.ts +0 -1
- package/index.js +0 -2
- package/package.json.new +0 -315
- package/packageInfo.d.ts +0 -6
- package/packageInfo.js +0 -1
- package/root.d.ts +0 -2
- package/root.js +0 -2
- package/rootJs/Clazz.d.ts +0 -18
- package/rootJs/Clazz.js +0 -32
- package/rootJs/Jsx.d.ts +0 -5
- package/rootJs/Jsx.js +0 -13
- package/rootJs/JsxChild.d.ts +0 -9
- package/rootJs/JsxChild.js +0 -6
- package/rootJs/augmented.d.ts +0 -8
- package/rootJs/augmented.js +0 -2
- package/rootJs/dynamic.d.mts +0 -8
- package/rootJs/dynamic.mjs +0 -13
- package/rootJs/index.d.ts +0 -19
- package/rootJs/index.js +0 -39
- package/rootJs/testJson.json +0 -5
- package/rootStatic/zagros.svg +0 -1
- package/rootTests.d.ts +0 -2
- package/rootTests.js +0 -41
- package/types.d.ts +0 -2
- package/types.js +0 -1
package/rootTests.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export function runTests({ Clazz, TEST_PURE, bigIntExp, dynamic, jsOpExp, json }) {
|
|
2
|
-
describe('Clazz', () => {
|
|
3
|
-
it('has staticProperty', () => {
|
|
4
|
-
expect(Clazz.staticProperty).toBe('foobar');
|
|
5
|
-
});
|
|
6
|
-
it('creates an instance with get/set', () => {
|
|
7
|
-
const c = new Clazz(456);
|
|
8
|
-
expect(c.something).toBe(123_456_789 & 456);
|
|
9
|
-
c.setSomething(123);
|
|
10
|
-
expect(c.something).toBe(123 & 456);
|
|
11
|
-
});
|
|
12
|
-
});
|
|
13
|
-
describe('TEST_PURE', () => {
|
|
14
|
-
it('should have the correct value', () => {
|
|
15
|
-
expect(TEST_PURE).toBe('testRoot');
|
|
16
|
-
});
|
|
17
|
-
});
|
|
18
|
-
describe('dynamic()', () => {
|
|
19
|
-
it('should allow dynamic import usage', async () => {
|
|
20
|
-
expect(await dynamic(5, 37)).toBe(42);
|
|
21
|
-
});
|
|
22
|
-
});
|
|
23
|
-
describe('bigIntExp()', () => {
|
|
24
|
-
it('should return the correct value', () => {
|
|
25
|
-
expect(bigIntExp()).toBe(123456789n * 137858491849n);
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
describe('jsOpExp', () => {
|
|
29
|
-
it('handles 0 ?? 42 correctly', () => {
|
|
30
|
-
expect(jsOpExp(0)).toBe(0);
|
|
31
|
-
});
|
|
32
|
-
it('handles undefined ?? 42 correctly', () => {
|
|
33
|
-
expect(jsOpExp()).toBe(42);
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
describe('json()', () => {
|
|
37
|
-
it('should return the correct value', () => {
|
|
38
|
-
expect(json()).toBe('works');
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
}
|
package/types.d.ts
DELETED
package/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|