1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00
Files
Boostnote/tests/date-formatter-test.js
2017-01-03 16:15:45 +09:00

13 lines
264 B
JavaScript

/**
* @fileoverview Unit test for browser/lib/date-formatter.js
*/
const test = require('ava')
const { getLastUpdated } = require('browser/lib/date-formatter')
test(t => {
t.throws(
() => getLastUpdated('invalid argument'),
'Invalid argument.'
)
})