timhaley94/holdem

View on GitHub
server/src/utils/index.test.js

Summary

Maintainability
A
0 mins
Test Coverage
const Utils = require('./index');

describe('Utils', () => {
  it('exports modules', () => {
    [
      'chunkIf',
      'deepMap',
      'hasShape',
      'mapFind',
      'sleep',
    ].forEach(
      (method) => {
        expect(Utils).toHaveProperty(method);
      },
    );
  });
});