Ghost/ghost/webmentions
Chris Raible 71aca468b3
Fixed flaky test: Can generate a mentions report (#16592)
refs TryGhost/Team#2844

- assertion was comparing a constant `now` with a `new Date()` that was
made on the next line — by passing now in as the end date to
`getMentionReport`, the end date should always equal the constant
- intent of the test is just to make sure a mentions report can
generate, so we can just use the variable now instead of creating new
Date() objects
2023-04-07 19:03:22 -07:00
..
lib Updated fallback for storing source site title 2023-03-21 16:09:21 +05:30
test Fixed flaky test: Can generate a mentions report (#16592) 2023-04-07 19:03:22 -07:00
.eslintrc.js Added webmentions package (#16133) 2023-01-17 13:18:16 +08:00
index.js Added webmentions package (#16133) 2023-01-17 13:18:16 +08:00
package.json Update @tryghost 2023-04-07 13:47:12 +02:00
README.md Added webmentions package (#16133) 2023-01-17 13:18:16 +08:00

Webmentions

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests