Buckets:
ktongue/docker_container / .cache /opencode /node_modules /avvio /test /catch-override-exception.test.js
| const { test } = require('tap') | |
| const boot = require('..') | |
| test('catch exceptions in parent.override', (t) => { | |
| t.plan(2) | |
| const server = {} | |
| const app = boot(server, { | |
| autostart: false | |
| }) | |
| app.override = function () { | |
| throw Error('catch it') | |
| } | |
| app | |
| .use(function () {}) | |
| .start() | |
| app.ready(function (err) { | |
| t.type(err, Error) | |
| t.match(err, /catch it/) | |
| }) | |
| }) | |
Xet Storage Details
- Size:
- 414 Bytes
- Xet hash:
- 28ee9f638974b8708c854e30f30c2c330ec12122ff338d1da4f2aad4e2ea22bf
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.