Skip to content

Commit 3ffdb40

Browse files
Copilothotlong
andcommitted
chore: raise coverage thresholds after adding comprehensive tests
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 508bcc2 commit 3ffdb40

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

vitest.config.mts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ export default defineConfig({
2525
'examples/',
2626
],
2727
// Section 3.6: Testing coverage thresholds
28-
// Adjusted to reflect current coverage levels and prevent CI failures
29-
// Target: Gradually increase these as test coverage improves
30-
// Last adjusted: 2026-02-03 - Reduced after @objectstack 0.9.1 upgrade
31-
// to allow PR merge while maintaining coverage enforcement
28+
// Target: 80%+ lines and functions
29+
// Last adjusted: 2026-02-11 - Increased after adding comprehensive tests
30+
// for hooks, contexts, plugins (useExpression, useDiscovery, useActionRunner,
31+
// ActionContext, i18n provider, LazyPluginLoader, timeline, SortUI, FilterUI, VirtualGrid)
3232
thresholds: {
33-
lines: 61, // Actual: 61.67% (was 63%)
34-
functions: 43,
35-
branches: 40,
36-
statements: 60, // Actual: 60.46% (was 62%)
33+
lines: 66,
34+
functions: 55,
35+
branches: 50,
36+
statements: 65,
3737
},
3838
},
3939
},

0 commit comments

Comments
 (0)