UNPKG

fake-npm-package

Version:
38 lines (36 loc) 1.42 kB
const { flipTable, surprise, best } = require('../index.js'); const expect = require('chai').expect; const assert = require('assert'); describe('Simple String Test', function () { it('should just pass', function () { assert.strictEqual("Hello World!".length, 12); }); it('expect the output to be a string', function () { expect(flipTable).to.be.a('string'); }); it('expect the out to be the table flip string', function () { expect(flipTable).to.include("(╯°□°)╯︵ ┻━┻)"); }); }); describe('Simple String Test', function () { it('should just pass', function () { assert.strictEqual("Hello World!".length, 12); }); it('expect the surprise output to be a string', function () { expect(surprise).to.be.a('string'); }); it('expect the out to be the surprise string', function () { expect(surprise).to.include("(⊙ˍ⊙)"); }); }); describe('Simple String Test', function () { it('should just pass', function () { assert.strictEqual("Hello World!".length, 12); }); it('expect the surprise output to be a string', function () { expect(best).to.be.a('string'); }); it('expect the out to be the surprise string', function () { expect(best).to.include("My Wife!"); }); });