git ssb

0+

Rômulo Alves / money-block



Tree: ecf6563965cf3a734a59dfba74cd29977efbe9d6

Files: ecf6563965cf3a734a59dfba74cd29977efbe9d6 / 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