20240517
This commit is contained in:
12
node_modules/store/plugins/json2_test.js
generated
vendored
Normal file
12
node_modules/store/plugins/json2_test.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
module.exports = {
|
||||
plugin: require('./json2'),
|
||||
setup: setup,
|
||||
}
|
||||
|
||||
function setup(store) {
|
||||
|
||||
test('serialization with json2', function() {
|
||||
store.set('foo', { bar:'cat' })
|
||||
assert(store.get('foo').bar === 'cat')
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user