Skip to content

Add keep_latest

Add keep_latest #82

Triggered via pull request May 17, 2024 11:28
Status Failure
Total duration 36s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
src/lib/tests/task.test.ts > task - basic functionality 'keepLatest' > re-throws any error thrown in the perform function and has the error in the error field of the store: node_modules/.pnpm/@[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L332
TestingLibraryElementError: Unable to find an element by: [data-testid="perform-error"] Ignored nodes: comments, script, style <body> <div> <button data-testid="perform-default" > perform </button> <button data-testid="perform-options" > perform options </button> <button data-testid="cancel-default" > cancel </button> <button data-testid="cancel-options" > cancel options </button> <button data-testid="cancel-default-last" > cancel last instance </button> <button data-testid="cancel-options-last" > cancel last options instance </button> </div> </body> ❯ Object.getElementError node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:332:19 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1196:25 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1175:17 ❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1218:19 ❯ src/lib/tests/task.test.ts:135:19
Test
Process completed with exit code 1.