node-pinus / pinus

A fast,scalable,distributed game server framework for Node.js, Powered by TypeScript. 一个TypeScript写的node.js分布式游戏/应用服务器框架(原型基于pomelo)。
https://pinus.io
MIT License
1.81k stars 374 forks source link

fix: 修复单元测试 #901

Closed bruce48x closed 7 months ago

bruce48x commented 7 months ago

运行 yarn run test 时失败,原因是 monitor 组件尝试创建连接,在单元测试时并不需要

whtiehack commented 7 months ago

https://github.com/node-pinus/pinus/actions/runs/8122010524/job/22201015042?pr=901

error lerna@6.6.2: The engine "node" is incompatible with this module. Expected version "^14.17.0 || >=16.0.0". Got "12.22.12"

可以把12的测试去试试 加上20的?

whtiehack commented 7 months ago

你拉master代码 重新提交试试.

bruce48x commented 7 months ago

你拉master代码 重新提交试试.

似乎可以了