From 5976331822e01dbf424574d28628b52f39a60826 Mon Sep 17 00:00:00 2001 From: Philipp Meisen <2893215+pmeisen@users.noreply.github.com> Date: Wed, 29 May 2024 18:41:54 -0700 Subject: [PATCH] added cleanup on test --- specs/BreinifyUtil-spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specs/BreinifyUtil-spec.js b/specs/BreinifyUtil-spec.js index 2a3f36d..43e9419 100644 --- a/specs/BreinifyUtil-spec.js +++ b/specs/BreinifyUtil-spec.js @@ -329,11 +329,14 @@ describe('BreinifyUtil', function () { 'values': [] } }, function (error, result) { + expect(result).toEqual({ 'loaded': ['products', 'awards'], 'failed': [] }); + // clear the storage to make sure the test did not keep any data + Breinify.UTL.storage.instance.clear(); done(); }); });