jestjs/jest
Documented errors, page 2 of 2. Back to jestjs/jest
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| has already been spied upon | validation | error | jest, spyon, mocking, property-accessor, duplicate-spy, test-isolation |
| : is not declared writable or has no setter Usage: spyOn( … | validation | error | jest, spyon, mocking, readonly, descriptor, frozen |
| The --selectProjects option requires the name of at least… | exception | error | jest-cli, cli-args, selectprojects, multi-project, missing-argument |
| Jest: You can only define a single loader through… | exception | error | typescript, config, docblock, loader, argument-validation |
| : could not find an object to spy upon for Usage: spyOn( , ) | validation | error | jest, spyon, mocking, property-accessor, undefined, api-misuse |
| Sum( ) of passed ( ) and failed ( ) test suites is greater… | exception | error | reporter, internal, invariant, bug, github-actions |
| Could not find a config file based on provided values: path | exception | error | config, discovery, filesystem, missing-config |
| is not declared configurable | validation | error | jest, spyon, mocking, property-accessor, non-configurable, frozen, native |
| : () method does not exist Usage: spyOn( , ) | validation | error | jest, spyon, mocking, missing-method, api-misuse |
| : value is a negative integer | validation | error | diff-sequences, input-validation, rangeerror, numeric |
| Ran immediates, and there are still more! Assuming we've… | exception | error | jest-fake-timers, legacy-fake-timers, infinite-loop, setimmediate |
| Ran ticks, and there are still more! Assuming we've hit an… | exception | error | jest-fake-timers, legacy-fake-timers, infinite-loop, nexttick |
| Cannot replace the ` ` property because it is a function… | validation | error | mock, replace-property, spy, function |
| Cannot spy on the ` ` property because it is not a… | validation | error | spy, mock, type-validation |
| Changed files must be set when running with -o. | exception | error | core, only-changed, scm, programmatic-api, argument-validation |
| The option summaryThreshold should be a number | validation | error | reporter, config, validation, summary |
| Property ` ` does not exist in the provided object | validation | error | spy, mock, accessor, missing-property |
| Jest: ' ' is not a valid TypeScript configuration loader. | exception | error | typescript, config, docblock, loader, argument-validation |
| notify reporter requires optional peer dependency… | exception | error | reporter, dependency, notify, peer-dependency |
| Error: `.each` called with an empty Array of table data. | exception | error | jest-each, parameterized-tests, validation, empty-data |
| Table headings do not conform to expected format: heading1… | exception | error | jest-each, parameterized-tests, validation, tagged-template, format |
| Property does not have access type | validation | error | jest, spyon, mocking, property-accessor, access-type, api-misuse |
| The shard option requires 1-based values, received 0 or… | exception | error | cli, sharding, ci, off-by-one, argument-validation |
| "cwd" must be an absolute path. cwd | exception | error | config, paths, argument-validation, programmatic-api |
| Error: `.each` called with an empty Tagged Template Literal… | exception | error | jest-each, parameterized-tests, validation, tagged-template |
| Cannot replace the ` ` property because it has a getter… | validation | error | mock, replace-property, accessor, getter |
| : No method name supplied Usage: spyOn( , ) | validation | error | jest, spyon, mocking, undefined, api-misuse |
| JSDOM did not return a Window object | exception | critical | jest-environment-jsdom, jsdom, runtime-error, environment |
| value must be a string | exception | error | jest, expect, matcher, type-error, tomatch, string |
| The --ignoreProjects option requires the name of at least… | exception | error | jest-cli, cli-args, ignoreprojects, multi-project, missing-argument |
| : No property name supplied Usage: spyOn( , ) | validation | error | jest, spyon, mocking, property-accessor, undefined, api-misuse |
| Cannot use spyOn on a primitive value; | validation | error | spy, mock, type-validation |
| Cannot replace the ` ` property because it has a setter… | validation | error | mock, replace-property, accessor, setter |
| The shard option / requires to be lower or equal than . | exception | error | cli, sharding, ci, argument-validation |
| Property ` ` does not have access type | validation | error | spy, mock, accessor |
| Cannot use replaceProperty on a primitive value; | validation | error | mock, replace-property, type-validation |
| No property name supplied | validation | error | spy, mock, argument |
| Property ` ` is not declared configurable | validation | error | spy, mock, accessor, configurable |