@augment-vir/test 31.14.1 → 31.15.0
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/augments/universal-testing-suite/it-cases.d.ts +2 -2
- package/dist/augments/universal-testing-suite/it-cases.js +1 -1
- package/dist/augments/universal-testing-suite/mocha-types.d.ts +1 -1
- package/dist/augments/universal-testing-suite/snapshot-cases-with-context.d.ts +1 -1
- package/dist/augments/universal-testing-suite/snapshot-cases.d.ts +1 -1
- package/dist/augments/universal-testing-suite/universal-it.d.ts +1 -1
- package/dist/augments/universal-testing-suite/universal-snapshot.d.ts +1 -1
- package/dist/augments/universal-testing-suite/universal-snapshot.js +1 -1
- package/dist/augments/universal-testing-suite/universal-test-context.d.ts +1 -1
- package/dist/test-web/symlinked/element-position.d.ts +1 -1
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type CustomOutputAsserter, type ErrorMatchOptions } from '@augment-vir/assert';
|
|
2
2
|
import { type AnyFunction, type TypedFunction } from '@augment-vir/core';
|
|
3
|
-
import { RequireExactlyOne } from 'type-fest';
|
|
3
|
+
import { type RequireExactlyOne } from 'type-fest';
|
|
4
4
|
/**
|
|
5
5
|
* Base test case for {@link itCases}.
|
|
6
6
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* properties that make sense are included. (Lots of actual properties on these types are
|
|
4
4
|
* misleadingly named. Those have been omitted.)
|
|
5
5
|
*/
|
|
6
|
-
import type
|
|
6
|
+
import { type AnyFunction } from '@augment-vir/common';
|
|
7
7
|
/**
|
|
8
8
|
* Any Mocha context node inside {@link MochaTestContext}.
|
|
9
9
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseFunctionWithContext, FunctionWithContextTestCase } from './it-cases-with-context.js';
|
|
1
|
+
import { type BaseFunctionWithContext, type FunctionWithContextTestCase } from './it-cases-with-context.js';
|
|
2
2
|
/**
|
|
3
3
|
* Same as `snapshotCases` but passes the test context as the first parameter to the function under
|
|
4
4
|
* test.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UniversalTestContext } from './universal-test-context.js';
|
|
1
|
+
import { type UniversalTestContext } from './universal-test-context.js';
|
|
2
2
|
/**
|
|
3
3
|
* An error that is thrown from {@link assertSnapshot} when the snapshot comparison fails due to the
|
|
4
4
|
* snapshot expectation file simply not existing.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { check } from '@augment-vir/assert';
|
|
2
2
|
import { extractErrorMessage, getOrSet, RuntimeEnv } from '@augment-vir/common';
|
|
3
|
-
import { extractTestName, isTestContext } from './universal-test-context.js';
|
|
3
|
+
import { extractTestName, isTestContext, } from './universal-test-context.js';
|
|
4
4
|
/**
|
|
5
5
|
* An error that is thrown from {@link assertSnapshot} when the snapshot comparison fails due to the
|
|
6
6
|
* snapshot expectation file simply not existing.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RuntimeEnv } from '@augment-vir/core';
|
|
2
2
|
import { type TestContext as NodeTestContextImport } from 'node:test';
|
|
3
|
-
import { MochaTestContext } from './mocha-types.js';
|
|
3
|
+
import { type MochaTestContext } from './mocha-types.js';
|
|
4
4
|
export { RuntimeEnv } from '@augment-vir/core';
|
|
5
5
|
/**
|
|
6
6
|
* The test context for [Node.js's test runner](https://nodejs.org/api/test.html).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@augment-vir/test",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.15.0",
|
|
4
4
|
"description": "A universal testing suite that works with Mocha style test runners _and_ Node.js's built-in test runner.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"test",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"test:web": "virmator test --no-deps web 'src/test-web/**/*.test.ts' 'src/augments/universal-testing-suite/**/*.test.ts'"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@augment-vir/assert": "^31.
|
|
47
|
-
"@augment-vir/common": "^31.
|
|
46
|
+
"@augment-vir/assert": "^31.15.0",
|
|
47
|
+
"@augment-vir/common": "^31.15.0",
|
|
48
48
|
"@open-wc/testing-helpers": "^3.0.1",
|
|
49
|
-
"@virmator/test": "^13.
|
|
49
|
+
"@virmator/test": "^13.14.1",
|
|
50
50
|
"type-fest": "^4.40.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@types/node": "^22.
|
|
53
|
+
"@types/node": "^22.15.0",
|
|
54
54
|
"@web/dev-server-esbuild": "^1.0.4",
|
|
55
55
|
"@web/test-runner": "^0.20.1",
|
|
56
56
|
"@web/test-runner-commands": "^0.9.0",
|