komlev/sarcasm

View on GitHub
__tests__/sarcasm.test.js

Summary

Maintainability
A
0 mins
Test Coverage
const sarcasm = require('../src/index').sarcasm
describe('sarcasm', () => {
  it('should return something', () => {
    expect(sarcasm()).toBeDefined()
  })

  it('should return string', () => {
    expect(typeof sarcasm()).toBe('string')
  })

  it('should return sarcastic line', () => {
    expect(sarcasm()).toBe('This is great project')
  })
})