Page MenuHomePhabricator

[web] Add webMentionTypeaheadRegex tests
ClosedPublic

Authored by patryk on Aug 31 2023, 2:49 PM.
Tags
None
Referenced Files
F3529940: D9057.id31338.diff
Tue, Dec 24, 10:22 PM
F3529935: D9057.id31337.diff
Tue, Dec 24, 10:17 PM
F3529921: D9057.id31371.diff
Tue, Dec 24, 10:07 PM
Unknown Object (File)
Sun, Dec 15, 6:27 PM
Unknown Object (File)
Sun, Dec 15, 6:27 PM
Unknown Object (File)
Sun, Dec 15, 6:27 PM
Unknown Object (File)
Sun, Dec 15, 6:27 PM
Unknown Object (File)
Sun, Dec 15, 6:27 PM
Subscribers

Details

Summary

This diff adds webMentionTypeaheadRegex regex unit tests to typeahead-utils.test.js.

Depends on D9056.

Test Plan

Run yarn test in web folder and check if all tests pass.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

patryk held this revision as a draft.
patryk edited the test plan for this revision. (Show Details)
patryk added reviewers: tomek, inka, rohan.
This revision is now accepted and ready to land.Sep 22 2023, 6:45 AM

You could remove the text field and just do textPrefix + mentionText