Fix TypeScript type definitions for test suite

- Add explicit Describe and It interfaces with todo support
- Fix mock type compatibility in jest.ts
- Update import assertions to import attributes (assert -> with)
- Add dynamic.d.mts declaration file
- Fix spec files to use explicit type declarations
This commit is contained in:
Kurdistan Tech Ministry committed 2026-01-17 21:02:45 +03:00
1 parent cb6801a3cc
commit b65f265e87
9 files changed
+2987 -2672

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
// Copyright 2017-2026 @pezkuwi/dev authors & contributors
// SPDX-License-Identifier: Apache-2.0
export function sum(a: number, b: number): number;
+1 -1
View File
@@ -5,7 +5,7 @@
import './augmented.js';
/** This import should appear as-in in the ouput (cjs without asserts) */
import testJson from '@pezkuwi/dev/rootJs/testJson.json' assert { type: 'json' };
import testJson from '@pezkuwi/dev/rootJs/testJson.json' with { type: 'json' };
/** Double double work, i.e. re-exports */
export { Clazz } from './Clazz.js';