git ssb

0+

Rômulo Alves / money-block



Tree: 66b5635a9a864ebf035dcd24a8011a13f5d9f323

Files: 66b5635a9a864ebf035dcd24a8011a13f5d9f323 / tests / helpers / mock.js

263 bytesRaw
1const { readFileSync } = require('fs');
2const { join } = require('path');
3
4module.exports.readMock = function readMock(mockFilename) {
5 const filePath = join(__dirname, '..', '__mocks__', mockFilename);
6 return readFileSync(filePath, { encoding: 'utf-8' });
7};
8

Built with git-ssb-web