-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update deps (#379) * upgrade for next realease refactor: push 'unit' script at the end fix: update ci explicitkly add and remove typescript lugin test: dont explicitly add ts plugin test: dont explicitly add ts plugin * create specific test for unit test test/typescript/*.ts * fix: nullish needed for non Node.js runtime * fix: reverse version * fix: increase timeout * refactor: use node instead of tap for typescript scripts * fix: force deletion of @tapjs/typescript * chore: update test * chore: update command * chore: check plugin of tap * fixup * chore: fix commands --------- Co-authored-by: jean <jean.antoine.michelet@gmail.com> * chore: update deps (#379) * upgrade for next realease refactor: push 'unit' script at the end fix: update ci explicitkly add and remove typescript lugin test: dont explicitly add ts plugin test: dont explicitly add ts plugin * create specific test for unit test test/typescript/*.ts * fix: nullish needed for non Node.js runtime * fix: reverse version * fix: increase timeout * refactor: use node instead of tap for typescript scripts * fix: force deletion of @tapjs/typescript * chore: update test * chore: update command * chore: check plugin of tap * fixup * chore: fix commands --------- Co-authored-by: jean <jean.antoine.michelet@gmail.com> * update fastify deps * test: fix jest (#399) * test: fix jest * test: remove mixed async and callback --------- Co-authored-by: KaKa <23028015+climba03003@users.noreply.github.com> Co-authored-by: jean <jean.antoine.michelet@gmail.com>
- Loading branch information
1 parent
51e3cef
commit 03512cf
Showing
40 changed files
with
100 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
ts: true | ||
jsx: false | ||
flow: false | ||
# vim: set filetype=yaml : | ||
timeout: 60 | ||
plugin: | ||
- "!@tapjs/typescript" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
module.exports = async function (app, opts, next) { | ||
module.exports = async function (app, opts) { | ||
app.addHook('onRequest', async (req, reply) => { | ||
req.hooked = req.hooked || [] | ||
req.hooked.push('root') | ||
next() | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
module.exports = async function (app, opts, next) { | ||
module.exports = async function (app, opts) { | ||
app.addHook('onRequest', async (req, reply) => { | ||
req.hooked = req.hooked || [] | ||
req.hooked.push('child') | ||
next() | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
module.exports = async function (app, opts, next) { | ||
module.exports = async function (app, opts) { | ||
app.addHook('onRequest', async (req, reply) => { | ||
req.hooked = req.hooked || [] | ||
req.hooked.push('grandchild') | ||
next() | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.