@augment-vir/test 31.68.4 → 31.70.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.
@@ -28,7 +28,10 @@ export type FunctionWithContextTestCaseSingleInput<FunctionToTest extends BaseFu
28
28
  * @package [`@augment-vir/test`](https://www.npmjs.com/package/@augment-vir/test)
29
29
  */
30
30
  export type FunctionWithContextTestCaseMultipleInputs<FunctionToTest extends BaseFunctionWithContext> = {
31
- inputs: Parameters<FunctionToTest>['length'] extends never ? FunctionToTest extends TypedFunction<[UniversalTestContext, ...infer ArgumentsType], any> ? ArgumentsType[] : never : RemoveFirstTupleEntry<Parameters<FunctionToTest>>;
31
+ inputs: Parameters<FunctionToTest>['length'] extends never ? FunctionToTest extends TypedFunction<[
32
+ UniversalTestContext,
33
+ ...infer ArgumentsType
34
+ ], any> ? ArgumentsType[] : never : RemoveFirstTupleEntry<Parameters<FunctionToTest>>;
32
35
  } & BaseTestCase<Awaited<ReturnType<FunctionToTest>>>;
33
36
  /**
34
37
  * A function test case used for {@link itCasesWithContext}.
@@ -21,10 +21,10 @@ export async function deleteAllTextInInput(inputElement) {
21
21
  press: 'Backspace',
22
22
  });
23
23
  if (inputElement.value === lastValue) {
24
- throw new Error(`Input value was not changed at all`);
24
+ throw new Error('Input value was not changed at all');
25
25
  }
26
26
  else if (inputElement.value.length >= lastValue.length) {
27
- throw new Error(`Input value length was not decreased.`);
27
+ throw new Error('Input value length was not decreased.');
28
28
  }
29
29
  await deleteAllTextInInput(inputElement);
30
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augment-vir/test",
3
- "version": "31.68.4",
3
+ "version": "31.70.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",
@@ -44,16 +44,16 @@
44
44
  "test:web": "virmator test --no-deps web 'src/test-web/**/*.test.ts' 'src/augments/universal-testing-suite/**/*.test.ts'"
45
45
  },
46
46
  "dependencies": {
47
- "@augment-vir/assert": "^31.68.4",
48
- "@augment-vir/common": "^31.68.4",
49
- "@date-vir/duration": "^8.2.1",
50
- "@virmator/test": "^14.11.0",
51
- "type-fest": "^5.5.0"
47
+ "@augment-vir/assert": "^31.70.0",
48
+ "@augment-vir/common": "^31.70.0",
49
+ "@date-vir/duration": "^8.3.2",
50
+ "@virmator/test": "^14.12.2",
51
+ "type-fest": "^5.6.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@open-wc/testing-helpers": "^3.0.1",
55
55
  "@playwright/test": "^1.59.1",
56
- "@types/node": "^25.5.2",
56
+ "@types/node": "^25.6.0",
57
57
  "@web/dev-server-esbuild": "^1.0.5",
58
58
  "@web/test-runner": "^0.20.2",
59
59
  "@web/test-runner-commands": "^0.9.0",
@@ -61,13 +61,13 @@
61
61
  "@web/test-runner-visual-regression": "^0.10.0",
62
62
  "element-vir": "^26.15.1",
63
63
  "istanbul-smart-text-reporter": "^1.1.5",
64
- "pixelmatch": "^7.1.0",
64
+ "pixelmatch": "^7.2.0",
65
65
  "pngjs": "^7.0.0",
66
66
  "runstorm": "^1.0.0",
67
67
  "sharp": "^0.34.5",
68
68
  "spa-router-vir": "^6.4.1",
69
69
  "typescript": "^5.9.3",
70
- "url-vir": "^2.1.8"
70
+ "url-vir": "^2.1.9"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "@open-wc/testing-helpers": "*",