-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de60ce9
commit c9aff2e
Showing
179 changed files
with
1,915 additions
and
1,427 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,5 @@ | |
**Signature:** | ||
|
||
```typescript | ||
alfaVersion = "0.94.1" | ||
alfaVersion = "0.95.0" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [Assertions](./alfa-test-deprecated.assertions.md) > [deepEqual](./alfa-test-deprecated.assertions.deepequal.md) | ||
|
||
## Assertions.deepEqual() method | ||
|
||
[https://nodejs.org/api/assert.html\#assert\_assert\_deepequal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_deepequal_actual_expected_message) | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
deepEqual<T>(actual: T, expected: T, message?: string): void; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| actual | T | | | ||
| expected | T | | | ||
| message | string | _(Optional)_ | | ||
|
||
**Returns:** | ||
|
||
void | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [Assertions](./alfa-test-deprecated.assertions.md) > [equal](./alfa-test-deprecated.assertions.equal.md) | ||
|
||
## Assertions.equal() method | ||
|
||
[https://nodejs.org/api/assert.html\#assert\_assert\_equal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_equal_actual_expected_message) | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
equal<T>(actual: T, expected: T, message?: string): void; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| actual | T | | | ||
| expected | T | | | ||
| message | string | _(Optional)_ | | ||
|
||
**Returns:** | ||
|
||
void | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [Assertions](./alfa-test-deprecated.assertions.md) > [fail](./alfa-test-deprecated.assertions.fail.md) | ||
|
||
## Assertions.fail() method | ||
|
||
[https://nodejs.org/api/assert.html\#assert\_assert\_fail\_message](https://nodejs.org/api/assert.html#assert_assert_fail_message) | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
fail(message?: string): never; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| message | string | _(Optional)_ | | ||
|
||
**Returns:** | ||
|
||
never | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [Assertions](./alfa-test-deprecated.assertions.md) | ||
|
||
## Assertions interface | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export interface Assertions | ||
``` | ||
|
||
## Methods | ||
|
||
| Method | Description | | ||
| --- | --- | | ||
| [deepEqual(actual, expected, message)](./alfa-test-deprecated.assertions.deepequal.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_deepequal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_deepequal_actual_expected_message) | | ||
| [equal(actual, expected, message)](./alfa-test-deprecated.assertions.equal.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_equal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_equal_actual_expected_message) | | ||
| [fail(message)](./alfa-test-deprecated.assertions.fail.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_fail\_message](https://nodejs.org/api/assert.html#assert_assert_fail_message) | | ||
| [notDeepEqual(actual, expected, message)](./alfa-test-deprecated.assertions.notdeepequal.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_notdeepequal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_notdeepequal_actual_expected_message) | | ||
| [notEqual(actual, expected, message)](./alfa-test-deprecated.assertions.notequal.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_notequal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_notequal_actual_expected_message) | | ||
| [rejects(block, error, message)](./alfa-test-deprecated.assertions.rejects.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_rejects\_block\_error\_message](https://nodejs.org/api/assert.html#assert_assert_rejects_block_error_message) | | ||
| [throws(block, error, message)](./alfa-test-deprecated.assertions.throws.md) | [https://nodejs.org/api/assert.html\#assert\_assert\_throws\_block\_error\_message](https://nodejs.org/api/assert.html#assert_assert_throws_block_error_message) | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [Assertions](./alfa-test-deprecated.assertions.md) > [notDeepEqual](./alfa-test-deprecated.assertions.notdeepequal.md) | ||
|
||
## Assertions.notDeepEqual() method | ||
|
||
[https://nodejs.org/api/assert.html\#assert\_assert\_notdeepequal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_notdeepequal_actual_expected_message) | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
notDeepEqual<T>(actual: T, expected: T, message?: string): void; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| actual | T | | | ||
| expected | T | | | ||
| message | string | _(Optional)_ | | ||
|
||
**Returns:** | ||
|
||
void | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [Assertions](./alfa-test-deprecated.assertions.md) > [notEqual](./alfa-test-deprecated.assertions.notequal.md) | ||
|
||
## Assertions.notEqual() method | ||
|
||
[https://nodejs.org/api/assert.html\#assert\_assert\_notequal\_actual\_expected\_message](https://nodejs.org/api/assert.html#assert_assert_notequal_actual_expected_message) | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
notEqual<T>(actual: T, expected: T, message?: string): void; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| actual | T | | | ||
| expected | T | | | ||
| message | string | _(Optional)_ | | ||
|
||
**Returns:** | ||
|
||
void | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [Assertions](./alfa-test-deprecated.assertions.md) > [rejects](./alfa-test-deprecated.assertions.rejects.md) | ||
|
||
## Assertions.rejects() method | ||
|
||
[https://nodejs.org/api/assert.html\#assert\_assert\_rejects\_block\_error\_message](https://nodejs.org/api/assert.html#assert_assert_rejects_block_error_message) | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
rejects<T>(block: Function | Promise<T>, error?: RegExp | Function | Object | Error, message?: string): void; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| block | Function \| Promise<T> | | | ||
| error | RegExp \| Function \| Object \| Error | _(Optional)_ | | ||
| message | string | _(Optional)_ | | ||
|
||
**Returns:** | ||
|
||
void | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [Assertions](./alfa-test-deprecated.assertions.md) > [throws](./alfa-test-deprecated.assertions.throws.md) | ||
|
||
## Assertions.throws() method | ||
|
||
[https://nodejs.org/api/assert.html\#assert\_assert\_throws\_block\_error\_message](https://nodejs.org/api/assert.html#assert_assert_throws_block_error_message) | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
throws(block: Function, error?: RegExp | Function | Object | Error, message?: string): void; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| block | Function | | | ||
| error | RegExp \| Function \| Object \| Error | _(Optional)_ | | ||
| message | string | _(Optional)_ | | ||
|
||
**Returns:** | ||
|
||
void | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [Controller](./alfa-test-deprecated.controller.md) > [iterations](./alfa-test-deprecated.controller.iterations.md) | ||
|
||
## Controller.iterations property | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
iterations: number; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [Controller](./alfa-test-deprecated.controller.md) | ||
|
||
## Controller interface | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export interface Controller<T = number> | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [iterations](./alfa-test-deprecated.controller.iterations.md) | | number | | | ||
| [seed?](./alfa-test-deprecated.controller.seed.md) | | number | _(Optional)_ | | ||
| [wrapper](./alfa-test-deprecated.controller.wrapper.md) | | (rng: [RNG](./alfa-test-deprecated.rng.md)<!-- --><number>, iteration: number) => [RNG](./alfa-test-deprecated.rng.md)<!-- --><T> | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [Controller](./alfa-test-deprecated.controller.md) > [seed](./alfa-test-deprecated.controller.seed.md) | ||
|
||
## Controller.seed property | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
seed?: number; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [Controller](./alfa-test-deprecated.controller.md) > [wrapper](./alfa-test-deprecated.controller.wrapper.md) | ||
|
||
## Controller.wrapper property | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
wrapper: (rng: RNG<number>, iteration: number) => RNG<T>; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) | ||
|
||
## alfa-test-deprecated package | ||
|
||
## Functions | ||
|
||
| Function | Description | | ||
| --- | --- | | ||
| [test(name, assertion, controller)](./alfa-test-deprecated.test.md) | | | ||
|
||
## Interfaces | ||
|
||
| Interface | Description | | ||
| --- | --- | | ||
| [Assertions](./alfa-test-deprecated.assertions.md) | | | ||
| [Controller](./alfa-test-deprecated.controller.md) | | | ||
|
||
## Type Aliases | ||
|
||
| Type Alias | Description | | ||
| --- | --- | | ||
| [RNG](./alfa-test-deprecated.rng.md) | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [RNG](./alfa-test-deprecated.rng.md) | ||
|
||
## RNG type | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export type RNG<T = number> = () => T; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@siteimprove/alfa-test-deprecated](./alfa-test-deprecated.md) > [test](./alfa-test-deprecated.test.md) | ||
|
||
## test() function | ||
|
||
|
||
**Signature:** | ||
|
||
```typescript | ||
export declare function test<T = number>(name: string, assertion: (assert: Assertions, rng: RNG<T>, seed: number) => void | Promise<void>, controller?: Partial<Controller<T>>): Promise<void>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| name | string | | | ||
| assertion | (assert: [Assertions](./alfa-test-deprecated.assertions.md)<!-- -->, rng: [RNG](./alfa-test-deprecated.rng.md)<!-- --><T>, seed: number) => void \| Promise<void> | | | ||
| controller | Partial<[Controller](./alfa-test-deprecated.controller.md)<!-- --><T>> | _(Optional)_ | | ||
|
||
**Returns:** | ||
|
||
Promise<void> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# @siteimprove/alfa-act | ||
|
||
## 0.95.0 | ||
|
||
## 0.94.1 | ||
|
||
## 0.94.0 | ||
|
Oops, something went wrong.