Skip to content

feat(SessionApi): Send save request via `sendBeacon` at `beforeunload`

Codecov / codecov/patch failed Feb 5, 2025 in 1s

0.00% of diff hit (target 37.89%)

View this Pull Request on Codecov

0.00% of diff hit (target 37.89%)

Annotations

Check warning on line 681 in src/components/Editor.vue

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/Editor.vue#L681

Added line #L681 was not covered by tests

Check warning on line 684 in src/components/Editor.vue

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/Editor.vue#L683-L684

Added lines #L683 - L684 were not covered by tests

Check warning on line 899 in src/components/Editor.vue

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/Editor.vue#L894-L899

Added lines #L894 - L899 were not covered by tests

Check warning on line 92 in src/components/Editor/Status.vue

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/Editor/Status.vue#L92

Added line #L92 was not covered by tests

Check warning on line 99 in src/components/Editor/Status.vue

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/Editor/Status.vue#L99

Added line #L99 was not covered by tests

Check warning on line 94 in src/services/SessionApi.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/services/SessionApi.js#L92-L94

Added lines #L92 - L94 were not covered by tests

Check warning on line 116 in src/services/SessionApi.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/services/SessionApi.js#L114-L116

Added lines #L114 - L116 were not covered by tests

Check warning on line 125 in src/services/SessionApi.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/services/SessionApi.js#L125

Added line #L125 was not covered by tests

Check warning on line 132 in src/services/SessionApi.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/services/SessionApi.js#L127-L132

Added lines #L127 - L132 were not covered by tests

Check warning on line 312 in src/services/SyncService.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/services/SyncService.js#L302-L312

Added lines #L302 - L312 were not covered by tests