Commit ac8fd98c authored by Dave Pisek's avatar Dave Pisek

Review feedback: add test case

parent 6f457335
......@@ -166,6 +166,7 @@ describe('VulnerabilityTraining component', () => {
identifier | exists
${SUPPORTED_IDENTIFIER_TYPES.cwe.toUpperCase()} | ${false}
${SUPPORTED_IDENTIFIER_TYPES.cwe.toLowerCase()} | ${false}
${'non-supported-identifier'} | ${true}
`('sets it to "$exists" for "$identifier"', async ({ identifier, exists }) => {
createApolloProvider();
createComponent({ identifiers: [{ externalType: identifier, externalId: 'cwe-1' }] });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment