1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 17:59:55 +02:00

New updates and modules

This commit is contained in:
DanieL 2022-07-15 11:08:01 -03:00
parent 4d5d408898
commit 0abf0f90f6
959 changed files with 364301 additions and 17493 deletions

20
node_modules/level-errors/test.js generated vendored Normal file
View file

@ -0,0 +1,20 @@
var test = require('tape')
var errors = require('./')
test('all errors are instances of LevelUPError', function (t) {
var LevelUPError = errors.LevelUPError
var keys = Object.keys(errors)
keys.forEach(function (key) {
t.ok(new errors[key]() instanceof LevelUPError)
})
t.end()
})
test('NotFoundError has special properties', function (t) {
var error = new errors.NotFoundError()
t.equal(error.notFound, true)
t.equal(error.status, 404)
t.end()
})