import "./test.json";

it("should generate a events.json file", (done) => {
    var fs = require("fs"),
        path = require("path"),
		os = require("os");

	expect(fs.existsSync(path.join(__dirname, "events.json"))).toBe(true);
});

it("should have proper setup record inside of the json stream", (done) => {
    var fs = require("fs"),
        path = require("path"),
        os = require("os");

	// convert json stream to valid
	var source = JSON.parse(fs.readFileSync(path.join(__dirname, "events.json"), "utf-8").toString() + "{}]");
	expect(source[0].id).toEqual(1);
});

@@ -54,28 +54,24 @@
 son file%22, (
-done
 ) =%3E %7B%0A    v
@@ -294,12 +294,8 @@
 %22, (
-done
 ) =%3E

revert 76e295e7ef2fabe993251b5a82266542cae7b3aa