plottoriffic/test/test.js
Xe Iaso ec8ae7e063 bump to v2.3.0, fix modern node builds
Signed-off-by: Xe Iaso <me@christine.website>
2023-04-11 22:40:34 -04:00

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);
});
});
});