Fix tests & a typo

This commit is contained in:
Christopher Willis-Ford 2017-11-03 11:42:20 -07:00
parent 0af3de9bf0
commit c88a8fa55a
5 changed files with 7 additions and 7 deletions
test/integration

View file

@ -21,7 +21,7 @@ test('default', t => {
// Create runtime instance & load SB2 into it
const rt = new runtime();
rt.attachStorage(makeTestStorage());
sb2.deserialize(json, rt).then(targets => {
sb2.deserialize(json, rt).then(({targets}) => {
// Test
t.type(file, 'string');
t.type(json, 'object');