Skip to content

Commit

Permalink
chore: fix test wording
Browse files Browse the repository at this point in the history
Signed-off-by: Liran Tal <[email protected]>
  • Loading branch information
lirantal committed Oct 19, 2024
1 parent 8f4ce8c commit 6b22956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/CweManager.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ const { CweManager } = require('../index')

describe('Cwe Manager', () => {
describe('Cwe Manager supports instantiation with custom data', () => {
test('Cwe Manager instnatiated with custom hierarchy', () => {
test('Cwe Manager instantiated with custom hierarchy', () => {
const cweManager = new CweManager({
cweHierarchy: [{ weaknessId: '31337', parentId: '31338' }]
})
const result = cweManager.isChildOf({ weaknessId: '31337', parentId: '31338' })
expect(result).toBe(true)
})

test.todo('Cwe Manager instnatiated with custom dictionary')
test.todo('Cwe Manager instantiated with custom dictionary')
})

describe('Cwe Manager getters', () => {
Expand Down

0 comments on commit 6b22956

Please sign in to comment.