Class: FakeRule
@boll/core › Globals › FakeRule
Class: FakeRule
Hierarchy
- FakeRule
Implements
Index
Constructors
Properties
Methods
Constructors
constructor
+ new FakeRule(options: object): FakeRule
Defined in tests/config.test.ts:14
Parameters:
| Name | Type | Default |
|---|---|---|
options | object | {} |
Returns: FakeRule
Properties
name
• name: string = "fakerule"
Implementation of PackageRule.name
Defined in tests/config.test.ts:14
Defined in tests/result.test.ts:20
options
• options: object
Defined in tests/config.test.ts:16
Defined in tests/result.test.ts:22
Type declaration:
Methods
check
▸ check(file: any): Promise‹Result[]›
Defined in tests/config.test.ts:18
Parameters:
| Name | Type |
|---|---|
file | any |
Returns: Promise‹Result[]›