You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: add regresison tests for requesting non-major version and fetching typings from catalog (#2257)
Part of #2253.
These tests show that when a non-major version is requested, we first
try to fetch typings from the catalog for its corresponding major
version.
Copy file name to clipboardExpand all lines: action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/typing/TypesProvidingTest.kt
+92Lines changed: 92 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -195,6 +195,12 @@ class TypesProvidingTest :
195
195
stored-in-typing-catalog-for-older-version:
196
196
type: string
197
197
""".trimIndent()
198
+
val storedInTypingCatalogForMajorVersion =
199
+
"""
200
+
inputs:
201
+
stored-in-typing-catalog-for-major-version:
202
+
type: string
203
+
""".trimIndent()
198
204
199
205
test("only hosted by the action (.yml)") {
200
206
// Given
@@ -636,6 +642,49 @@ class TypesProvidingTest :
636
642
)
637
643
}
638
644
645
+
test("only stored in typing catalog for same major version using non-major version") {
0 commit comments