{"size": 654, "ext": "js", "max_stars_repo_path": "test/jsonfile.test.js", "max_stars_repo_name": "mcollina/seneca-jsonfile-store", "max_stars_repo_stars_event_min_datetime": "2019-06-12T19:21:40.000Z", "max_stars_repo_stars_event_max_datetime": "2019-06-12T19:21:40.000Z", "max_issues_repo_path": "test/jsonfile.test.js", "max_issues_repo_name": "mcollina/seneca-jsonfile-store", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/jsonfile.test.js", "max_forks_repo_name": "mcollina/seneca-jsonfile-store", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 14.5333333333, "max_line_length": 52, "alphanum_fraction": 0.6330275229}
/*jslint node: true, asi: true */
/*globals describe, it */
/* Copyright (c) 2013 Richard Rodger, MIT License */

"use strict";


var seneca = require('seneca')
var shared = seneca.test.store.shared


var si = seneca()
si.use(require('..'),{
  folder:'db'
})

si.__testcount = 0
var testcount = 0


describe('jsonfile', function(){
  it('basic', function(done){
    testcount++
    shared.basictest(si,done)
  })

  it('extra', function(done){
    testcount++
    extratest(si,done)
  })

  it('close', function(done){
    shared.closetest(si,testcount,done)
  })
})



function extratest(si,done) {
  console.log('EXTRA')
  si.__testcount++
  done()
}

