You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This way, even if a user isn't able to fix an issue, they can still contribute.
Perhaps feedback.test.ts for community-driven tests. Feedback should probably be manually written, so no snapshot tests. Maybe something like this:
// feedback.test.ts// NOTE Setting issueTitle to a number is a shortcut to making the title "Issue #123"typeFeedbackTest=[issueTitle: number|string,input: string,expected: string];constfeedback: FeedbackTest[]=[];// NOTE If you're just contributing a test, you don't need to read past this lineconsttests: [title: string,input: string,expected: string][]=feedback.map(([title, ...test])=>[typeoftitle==="number" ? `Issue #${title}` : title, ...test]);test.each(tests)("%s",(_title,input,expected)=>{expect(parse(input)).toBe(expected);});
The text was updated successfully, but these errors were encountered:
This way, even if a user isn't able to fix an issue, they can still contribute.
Perhaps
feedback.test.ts
for community-driven tests. Feedback should probably be manually written, so no snapshot tests. Maybe something like this:The text was updated successfully, but these errors were encountered: