Sort notes in notes selector by how recent they were opened #363
Annotations
2 errors
Run Playwright Tests
ReferenceError: window is not defined
at ../src/stores/notes-store.js:5
3 | import { NoteFormat } from "../editor/note-format"
4 |
> 5 | const SCRATCH_FILE = window.heynote.isDev ? "buffer-dev.txt" : "buffer.txt"
| ^
6 |
7 | export const useNotesStore = defineStore("notes", {
8 | state: () => ({
at Object.<anonymous> (/home/runner/work/heynote/heynote/src/stores/notes-store.js:5:22)
at Object.<anonymous> (/home/runner/work/heynote/heynote/src/editor/block/block.js:7:1)
at Object.<anonymous> (/home/runner/work/heynote/heynote/tests/block-parsing.spec.js:5:1)
|
Run Playwright Tests
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
179 KB |
|