UNPKG

big-int-stats

Version:

Create BigIntStats from fs.Stats for compatiblity on earlier versions of Node.js

11 lines (9 loc) 324 B
const assert = require('assert'); const { BigIntStats, toBigIntStats, toStats } = require('big-int-stats'); describe('exports .cjs', () => { it('exports', () => { assert.equal(typeof BigIntStats, 'function'); assert.equal(typeof toBigIntStats, 'function'); assert.equal(typeof toStats, 'function'); }); });