mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 17:56:30 +08:00
test(users): provide JWT dependency to polling fixtures
This commit is contained in:
1 parent
aafd85cbcc
commit
31aa353d7d
1 file changed
+1
@@ -18,6 +18,7 @@ async function setup() {
|
|||||||
const clients = new Set();
|
const clients = new Set();
|
||||||
const timers = new Set();
|
const timers = new Set();
|
||||||
const mocks = {
|
const mocks = {
|
||||||
|
jsonwebtoken: jwt,
|
||||||
sockjs: {
|
sockjs: {
|
||||||
createServer: () => ({
|
createServer: () => ({
|
||||||
on: (_, fn) => {
|
on: (_, fn) => {
|
||||||
|
|||||||
Reference in new issue
Block a user