qunitx 1.1.0 → 1.1.1
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/dist/node/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import Module from './module.
|
|
2
|
-
import Test from './test.
|
|
1
|
+
import Module from './module.js';
|
|
2
|
+
import Test from './test.js';
|
|
3
3
|
export declare const module: typeof Module;
|
|
4
4
|
export declare const test: typeof Test;
|
|
5
5
|
declare const _default: {
|
|
6
|
-
AssertionError: import("../types.
|
|
6
|
+
AssertionError: import("../types.js").AssertionErrorConstructor;
|
|
7
7
|
module: typeof Module;
|
|
8
8
|
test: typeof Test;
|
|
9
9
|
config: {};
|
package/dist/node/module.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type Assert from '../shared/assert.
|
|
2
|
-
import type { HooksObject } from '../types.
|
|
1
|
+
import type Assert from '../shared/assert.js';
|
|
2
|
+
import type { HooksObject } from '../types.js';
|
|
3
3
|
export default function module(moduleName: string, runtimeOptions: object | ((hooks: HooksObject<Assert>) => void), moduleContent?: (hooks: HooksObject<Assert>, meta: {
|
|
4
4
|
moduleName: string;
|
|
5
5
|
options: unknown;
|
package/dist/node/test.d.ts
CHANGED
package/dist/shared/assert.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../vendor/qunit.js';
|
|
2
|
-
import type { QUnitObject, AssertionErrorConstructor, InspectFn, TestState, ModuleState, PushResultInfo } from '../types.
|
|
2
|
+
import type { QUnitObject, AssertionErrorConstructor, InspectFn, TestState, ModuleState, PushResultInfo } from '../types.js';
|
|
3
3
|
/**
|
|
4
4
|
* The assertion object passed to every test callback and lifecycle hook.
|
|
5
5
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type Assert from './assert.
|
|
2
|
-
import type { HookFn } from '../types.
|
|
3
|
-
import TestContext from './test-context.
|
|
1
|
+
import type Assert from './assert.js';
|
|
2
|
+
import type { HookFn } from '../types.js';
|
|
3
|
+
import TestContext from './test-context.js';
|
|
4
4
|
export default class ModuleContext {
|
|
5
5
|
static Assert: typeof Assert;
|
|
6
6
|
static currentModuleChain: ModuleContext[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type Assert from './assert.
|
|
2
|
-
import type ModuleContext from './module-context.
|
|
1
|
+
import type Assert from './assert.js';
|
|
2
|
+
import type ModuleContext from './module-context.js';
|
|
3
3
|
export default class TestContext {
|
|
4
4
|
#private;
|
|
5
5
|
static Assert: typeof Assert;
|
package/package.json
CHANGED