Skip to content

Write tests for bot-detector #111

@v1rtl

Description

@v1rtl

Write tests for @tinyhttp/bot-detector using supertest-fetch (that is used in other tests)

The module is quite small, so a little things have to be tested:

  • It doesn't identify browser UserAgent as a bot
  • It identifies Google crawler as a bot
  • it identifies node request as a bot

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions