xen-orchestra/packages/vhd-lib/_createFooterHeader.integ.js
2023-06-07 10:24:14 +02:00

14 lines
274 B
JavaScript

'use strict'
const { test } = require('test')
const { createFooter } = require('./_createFooterHeader')
test('createFooter() does not crash', () => {
createFooter(104448, Math.floor(Date.now() / 1000), {
cylinders: 3,
heads: 4,
sectorsPerTrack: 17,
})
})