Sebastian Poxhofer
05e1271376
test: use expect().resolves instead of awaiting inside expect ( #45672 )
...
Enables the vitest/prefer-expect-resolves oxlint rule and applies its
autofix across the spec suite.
2026-09-04 10:40:46 +00:00
Sebastian Poxhofer
f4ab79f2a5
test(datasource): replace file snapshots with explicit assertions ( #45655 )
...
* test(datasource): replace file snapshots with explicit assertions
* test(datasource): replace inline snapshots with explicit assertions
* test(datasource): drop assertions implied by full equality
* test(datasource): address review feedback
2026-09-03 14:31:08 +00:00
Sebastian Poxhofer
a473e73b3e
fix(linters): forbid inert counts in v8 coverage-ignore comments ( #45287 )
...
Adds a custom oxlint rule renovate/v8-ignore-no-count that flags the
count form '/* v8 ignore next <N> */'. The count is not honored by
vitest's ast-v8-to-istanbul hint parser, which captures only the
keyword (if/else/next/file); 'next' always exempts exactly the next
AST node. Trailing counts therefore suggest a line range that is never
applied and mislead readers.
The rule is autofixable (drops the count, preserving actual behavior)
and has been applied to all existing occurrences.
2026-08-22 11:25:31 +00:00
Sebastian Poxhofer
ef557aca81
fix(datasource): replace getJsonUnchecked in Java, Gradle, Dart, and Flutter ( #43697 )
...
* fix(datasource): replace getJsonUnchecked with validated getJson in Java, Gradle, Dart, and Flutter datasources
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
* refactor: remove .nullable()
* fix linter errors
* chore removed some unused types
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-03 10:02:09 +00:00
Sergei Zharinov
9d857c1f68
refactor(lint): Organize imports with biome ( #40966 )
2026-02-06 13:40:01 +00:00
Sergei Zharinov
930cf6633c
refactor: Rewrite imports with .ts extensions ( #40700 )
...
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Michael Kriese
19c115c813
test: cleanup ( #34785 )
2025-03-13 17:52:09 +00:00
Michael Kriese
b5ff90f2bd
fix: improve coverage ( #34667 )
2025-03-06 17:05:19 +00:00
Michael Kriese
997c23502e
test: migrate to vitest ( #34475 )
...
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
2025-02-26 09:35:54 +00:00
Sergei Zharinov
a33d3eab9e
feat: Switch to Timestamp type ( #33648 )
2025-01-22 20:15:25 +00:00
Sergei Zharinov
9b4e515024
refactor(http): Separate getJson and getJsonUnchecked ( #33651 )
2025-01-17 14:18:00 +00:00
RahulGautamSingh
d0b77e584a
feat(datasource): sourceUrl & releaseTimestamp support ( #29122 )
2024-05-21 07:04:12 +00:00
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas ( #25631 )
2023-11-07 15:50:29 +00:00
Michael Kriese
a9dc0625cf
fix: better branch code coverage ( #24270 )
2023-09-06 11:26:22 +00:00
Sebastian Poxhofer
8ccb0eaae2
feat(datasource)!: default to the central default versioning ( #23020 )
...
BREAKING CHANGE: semver-coerced is now the default versioning
2023-07-04 19:21:52 +02:00
Rhys Arkins
b17bcf2789
refactor(datasource): use packageName and not depName for datasource lookups ( #20474 )
2023-03-10 09:34:40 +01:00
Michael Kriese
0316a5e62d
test: use jest v29 ( #17151 )
2022-08-16 14:22:29 +02:00
RahulGautamSingh
93dd940574
refactor(modules/datasource): fix null-check issues ( #16153 )
...
* fix null-check issues
* Update index.spec.ts
* apply suggestion from review
* fix coverage issue
* Update index.spec.ts
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
* Update datasource.spec.ts
* Update lib/modules/datasource/conan/index.spec.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
* Update datasource.spec.ts
* fix null-check issue
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-06-20 16:24:37 +02:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules ( #15085 )
2022-04-12 14:49:49 +00:00
zeshuaro
e244128bac
feat: add flutter-version datasource ( #14743 )
...
* feat: add flutter datasource
* refactor: rename flutter datasource to flutter-version
* feat: update to handle duplicate flutter releases
* refactor: tidy up flutter version datasource class names and imports
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
* Apply suggestions from code review
* style: add newline to test file
* refactor: move regex to util module
* refactor: tidy up stable version regex
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2022-03-29 04:09:16 +00:00