plottoriffic/test/test.js

12 lines
362 B
JavaScript
Raw Normal View History

const assert = require('assert');
const PlotGenerator = require('../index');
describe("PlotGenerator", () => {
describe("#generate", () => {
const gen = new PlotGenerator({flipGenders: true});
it("should be able to generate a plot", () => {
const story = gen.generate();
assert.ok(story.plot);
});
});
});