mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 18:52:14 +03:00
71aca468b3
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 |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json | ||
README.md |
Webmentions
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests