Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update reference capture regex && Add Jest unit test #1049

Merged
merged 4 commits into from
Nov 9, 2023

Conversation

zhx828
Copy link
Member

@zhx828 zhx828 commented Nov 9, 2023

This fixes oncokb/oncokb#3599

@zhx828 zhx828 added the enhancement Enhancement tag for release label Nov 9, 2023
@zhx828 zhx828 requested a review from calvinlu3 November 9, 2023 18:50
@@ -0,0 +1,59 @@
const tsconfig = require('./tsconfig.json');
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied the file from oncokb-transcript.

src/main/webapp/app/config/constants/regex.ts Outdated Show resolved Hide resolved
@@ -0,0 +1,31 @@
import { REF_CAPTURE } from 'app/config/constants/regex';

describe('Regex constants test', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add another test for NCT?

zhx828 and others added 2 commits November 9, 2023 13:10
Co-authored-by: Calvin Lu <59149377+calvinlu3@users.noreply.github.com>
@zhx828 zhx828 requested a review from calvinlu3 November 9, 2023 19:13
Copy link
Collaborator

@calvinlu3 calvinlu3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhx828 zhx828 merged commit d017c93 into oncokb:master Nov 9, 2023
5 checks passed
@zhx828 zhx828 deleted the fix-ref-regex branch November 9, 2023 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement tag for release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The gene background language is truncated
2 participants