... | ... | @@ -108,7 +108,7 @@ Sometimes it can be hard to see where a value in the structure has been changed |
|
|
Do whatever ui interaction that triggers an unexpected change, and when the debugger stops, examine the stack, looking especially for lines within `main.js`.
|
|
|
|
|
|
## Random external data
|
|
|
To test and develop handling of external data, the backend can serve random suggestions for new data. To achieve this, start Catalinker with additional url parameters like these: `externalSource=random_bibbi`. Entering any ISBN will populate suggested data with nonsensical work, publication and person data. Adding `externalSource=random_loc` as url parameter also fetches data as from a secondary source.
|
|
|
To test and develop handling of external data, the backend can serve random suggestions for new data. To achieve this, start Catalinker with additional url parameters like these: `externalSource=random_bibbi`. Entering any ISBN will populate suggested data with nonsensical work, publication and person data. Adding `externalSource=random_loc` as url parameter also fetches data as from a secondary source, in this case [Library of Congress](https://www.loc.gov/).
|
|
|
|
|
|
# Testing
|
|
|
## Module tests
|
... | ... | |