UNPKG

simon-game

Version:

An API to use for building the Simon memory game.

16 lines (13 loc) 322 B
'use strict' const assert = require('chai').assert const Simon = require('../index') describe('Simon module', function () { describe('is a function', function () { assert.isFunction(Simon) describe('when called', function () { it('returns an object', function () { assert.isObject(Simon()) }) }) }) })