-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { isLimitError } from './isLimitError'; | ||
|
||
const MOCK_MSG = "<div class=\"content\"><h3 class=\"title is-3\">Your request has hit the limit</h3><ul><li>Split your request into multiple smaller ones (i.e.) make your upload size smaller.</li><li><div class=\"is-flex is-align-items-center\"><a class=\"button is-success is-medium mr-2\" href=\"https://buy.stripe.com/eVadTGcCI6Ny73qfZ0\">Subscribe</a> for only 2 EUR per month to remove all the limits.</div></li><li>Or <a href=\"https://alemayhu.com/patreon\">Become a patron</a> to support me.</li></ul><p>If you already have an account, please <a href=\"/login?redirect=/upload\">login</a> and try again. If you are still experiencing issues, please contact <a href=\"mailto:[email protected]\">[email protected]</a>.</p></div>"; | ||
const MOCK_MSG = "<div class=\"content\"><h3 class=\"title is-3\">Your request has hit the limit</h3><ul><li>Split your request into multiple smaller ones (i.e.) make your upload size smaller.</li><li><div class=\"is-flex is-align-items-center\"><a class=\"button is-success is-medium mr-2\" href=\"https://buy.stripe.com/eVadTGcCI6Ny73qfZ0\">Subscribe</a> for only $2 per month to remove all the limits.</div></li><li>Or <a href=\"https://alemayhu.com/patreon\">Become a patron</a> to support me.</li></ul><p>If you already have an account, please <a href=\"/login?redirect=/upload\">login</a> and try again. If you are still experiencing issues, please contact <a href=\"mailto:[email protected]\">[email protected]</a>.</p></div>"; | ||
|
||
describe('isLimitError', () => { | ||
it('returns true ', () => { | ||
|