Fix tests from rebase (#2233)
* fix: 🐛 Fix tests broken by rebase onto main --------- Co-authored-by: cameronperera <cameron.perera@hashicorp.com>
This commit is contained in:
1 parent
626bdc2c92
commit
33d359e692
9 files changed
+103
-64
No files matched your search
@@ -22,7 +22,14 @@ const seedIndexDb = async (resource, store, indexedDb, server) => {
|
||||
);
|
||||
|
||||
await indexedDb.db[resource].bulkPut(
|
||||
normalizedPayload.data.map((datum) => indexedDb.normalizeData(datum, true)),
|
||||
normalizedPayload.data.map((datum) =>
|
||||
indexedDb.normalizeData({
|
||||
data: datum,
|
||||
cleanData: true,
|
||||
schema,
|
||||
serializer,
|
||||
}),
|
||||
),
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user