13 lines
220 B
JavaScript
13 lines
220 B
JavaScript
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')
|
|
})
|
|
}
|