This repository has been archived by the owner on Dec 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* dev: (39 commits) Use the Slack bot's configured name for the web template title Add simple default message on receiving an unknown command Add 'help' and 'thankyou' commands' Update CHANGELOG after merge of feature/leaderboard Minor: remove empty tests that weren't supposed to make it in yet Hotfix: prevent missing request data in events test Minor cleanups, incl docs Rename leaderboard retrieval functions + simplify HTML rendering by only requiring template filename to be passed Rename 'send' functions to 'slack' because they now do more than just sending Minor tweaks and cleanups Leaderboard: complete web-viewable leaderboard with user name retrieval Hotfix: ensure token on verification is an integer to avoid concatenation WIP: Minor tweaks and fixes for web leaderboard WIP: Templates and structure for full web-viewable leaderboard Leaderboard: split ranking into separate function Leaderboard: extract URL + token building functionality + add tests WIP: Leaderboard functionality (working, no tests, no 'full leaderboard') Minor docs Simplify integration tests to not actually partially be end-to-end tests Add function to retrieve top scores from the DB ...
- Loading branch information
Showing
33 changed files
with
2,265 additions
and
716 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
* Defines plugins for use with Jest. | ||
* | ||
* @see https://jestjs.io/docs/en/configuration.html#setuptestframeworkscriptfile-string | ||
*/ | ||
|
||
'use strict'; | ||
|
||
// Allows assertions to be chained together, to reduce repetition. | ||
// @see https://github.com/mattphillips/jest-chain#usage | ||
require( 'jest-chain' ); | ||
|
||
// Adds a bunch of additional matchers to Jest. | ||
// @see https://github.com/jest-community/jest-extended#api | ||
require( 'jest-extended' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.