file-box
Version:
Pack a File into Box for easy move/transfer between servers no matter of where it is.(local path, remote url, or cloud storage)
18 lines (13 loc) • 418 B
text/typescript
// tslint:disable:no-shadowed-variable
import { test } from 'tstest'
import type {
FileBoxInterface,
} from './interface.js'
import {
FileBox,
} from './file-box.js'
test('FileBoxInterface', async t => {
const fileBox: FileBoxInterface = FileBox.fromQRCode('test')
t.ok(fileBox, 'should be ok with interface')
})