summaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/test_indexeddb.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/unit/test_indexeddb.py b/test/unit/test_indexeddb.py
index 965f318..d48946e 100644
--- a/test/unit/test_indexeddb.py
+++ b/test/unit/test_indexeddb.py
@@ -55,13 +55,7 @@ def test_save_remove_item(execute_in_page, indexeddb_code):
"""
execute_in_page(indexeddb_code)
# Don't use Haketilo's default initial data.
- execute_in_page(
- '''{
- const _get_db = haketilodb.get;
- get_db = () => _get_db({});
- haketilodb.get = get_db;
- }'''
- )
+ execute_in_page('initial_data = {};')
# Start with no database.
execute_in_page(