12 lines
362 B
JavaScript
12 lines
362 B
JavaScript
|
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);
|
||
|
});
|
||
|
});
|
||
|
});
|