diff --git a/AmplifyPlugins/Core/AWSPluginsCoreTests/Sync/PaginatedListTests.swift b/AmplifyPlugins/Core/AWSPluginsCoreTests/Sync/PaginatedListTests.swift index d7933e3289..3027a3b68f 100644 --- a/AmplifyPlugins/Core/AWSPluginsCoreTests/Sync/PaginatedListTests.swift +++ b/AmplifyPlugins/Core/AWSPluginsCoreTests/Sync/PaginatedListTests.swift @@ -95,6 +95,12 @@ class PaginatedListTests: XCTestCase { } } + /// - Given: a `Post` Sync query with items, nextToken, and with sync data (startedAt, _version, etc) + /// - When: + /// - some of the JSON items are not able to be decoded to Post + /// - the JSON is decoded into `PaginatedList` + /// - Then: + /// - the result should contain only valid items of type MutationSync, startedAt, nextToken. func testDecodePaginatedListOptimistically() { let syncQueryJSON = """ {