%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home2/rezakur1/api.rezakurnia.com/zh-router/node_modules/find-my-way/test/
Upload File :
Create Path :
Current File : //home2/rezakur1/api.rezakurnia.com/zh-router/node_modules/find-my-way/test/issue-182.test.js

'use strict'

const { test } = require('node:test')
const FindMyWay = require('..')

test('Set method property when splitting node', t => {
  t.plan(1)
  const findMyWay = FindMyWay()

  function handler (req, res, params) {
    t.assert.ok()
  }

  findMyWay.on('GET', '/health-a/health', handler)
  findMyWay.on('GET', '/health-b/health', handler)

  t.assert.ok(!findMyWay.prettyPrint().includes('undefined'))
})

Zerion Mini Shell 1.0