Commit 8ff0244
committed
(test): ensure jsonify can be set to false
- previously a bug made it so you couldn't set it to false
- this option is an edge case that's mostly useful for certain storage
engines like WebSQL, IndexedDB, etc that can actually handle
non-string data
- for localStorage, objects just get stored as '[object Object]' if
they're not jsonified
- might want to throw on jsonify = false and localStorage engine?1 parent 1398eae commit 8ff0244
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
30 | 41 | | |
31 | 42 | | |
32 | 43 | | |
| |||
0 commit comments