tacnoman/create-ecma-app

View on GitHub
src/__tests__/getListOfFiles.js

Summary

Maintainability
A
0 mins
Test Coverage
const getListOfFile = require('../getListOfFiles');

describe('#getListOfFile', () => {
  test('should match the list of files', () => {
    expect(getListOfFile(`${process.cwd()}/src/templates`)).toMatchSnapshot();
  });
});