Skip to content

feat: support cjs and esm both #77

feat: support cjs and esm both

feat: support cjs and esm both #77

Triggered via pull request June 10, 2024 13:27
@fengmk2fengmk2
synchronize #10
next-major
Status Failure
Total duration 1m 2s
Artifacts

nodejs.yml

on: pull_request
Node.js  /  Setup
6s
Node.js / Setup
Matrix: Node.js / Test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 8 warnings
Node.js / Test (ubuntu-latest, 22): src/egg_router.ts#L5
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 22)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 20): src/egg_router.ts#L5
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 20)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 18.7.0): src/egg_router.ts#L5
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 18.7.0)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 18): src/egg_router.ts#L5
'assert' import is restricted from being used
Node.js / Test (ubuntu-latest, 18)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 22): src/egg_router.ts#L97
Expected @param names to be "[object Object]". Got "name, prefix, middleware"
Node.js / Test (ubuntu-latest, 22): src/router.ts#L484
Expected @param names to be "name, params, [object Object]". Got "name, params, options"
Node.js / Test (ubuntu-latest, 20): src/egg_router.ts#L97
Expected @param names to be "[object Object]". Got "name, prefix, middleware"
Node.js / Test (ubuntu-latest, 20): src/router.ts#L484
Expected @param names to be "name, params, [object Object]". Got "name, params, options"
Node.js / Test (ubuntu-latest, 18.7.0): src/egg_router.ts#L97
Expected @param names to be "[object Object]". Got "name, prefix, middleware"
Node.js / Test (ubuntu-latest, 18.7.0): src/router.ts#L484
Expected @param names to be "name, params, [object Object]". Got "name, params, options"
Node.js / Test (ubuntu-latest, 18): src/egg_router.ts#L97
Expected @param names to be "[object Object]". Got "name, prefix, middleware"
Node.js / Test (ubuntu-latest, 18): src/router.ts#L484
Expected @param names to be "name, params, [object Object]". Got "name, params, options"