File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ if ('Bun' in globalThis) {
22 throw new Error ( '❌ Use Node.js to run this test!' ) ;
33}
44
5- const { bearer } = require ( '@elysiajs/bearer ' ) ;
5+ const { createAccelerator } = require ( 'json-accelerator ' ) ;
66
7- if ( typeof bearer !== 'function' ) {
7+ if ( typeof createAccelerator !== 'function' ) {
88 throw new Error ( '❌ CommonJS Node.js failed' ) ;
99}
1010
Original file line number Diff line number Diff line change 11{
22 "type" : " commonjs" ,
33 "dependencies" : {
4- "@elysiajs/bearer " : " ../../.."
4+ "json-accelerator " : " ../../.."
55 }
6- }
6+ }
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ if ('Bun' in globalThis) {
22 throw new Error ( '❌ Use Node.js to run this test!' ) ;
33}
44
5- import { bearer } from '@elysiajs/bearer ' ;
5+ import { createAccelerator } from 'json-accelerator ' ;
66
7- if ( typeof bearer !== 'function' ) {
7+ if ( typeof createAccelerator !== 'function' ) {
88 throw new Error ( '❌ ESM Node.js failed' ) ;
99}
1010
Original file line number Diff line number Diff line change 11{
22 "type" : " module" ,
33 "dependencies" : {
4- "@elysiajs/bearer " : " ../../.."
4+ "json-accelerator " : " ../../.."
55 }
6- }
6+ }
You can’t perform that action at this time.
0 commit comments