Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit 4fdffa6

Browse files
committed
Fix test descriptions afternaming to namespaceClasses
1 parent 1b33099 commit 4fdffa6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/utils/test/getComponentCssSelector.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ describe('getComponentCssSelector', () => {
99
expect(getComponentCssSelector(testComponentName)).toEqual(`.${testComponentName}`)
1010
})
1111

12-
it('returns the name if the specificity class is not defined on options', () => {
12+
it('returns the name if the namespace class is not defined on options', () => {
1313
expect(getComponentCssSelector(testComponentName, { displayName: 'test' })).toEqual(
1414
`.${testComponentName}`,
1515
)
1616
})
1717

18-
it('returns the name prepended with the specificity class', () => {
18+
it('returns the name prepended with the namespace class', () => {
1919
expect(
2020
getComponentCssSelector(testComponentName, { namespaceClasses: testNamespaceClass }),
2121
).toEqual(`.${testNamespaceClass} .${testComponentName}`)
2222
})
2323

24-
it('returns the name prepended with a list of specificity classes', () => {
24+
it('returns the name prepended with a list of namespace classes', () => {
2525
const testNamespaceClasses = ['aLittleSpecific', 'moreSpecific', 'reallySpecific']
2626
expect(
2727
getComponentCssSelector(testComponentName, { namespaceClasses: testNamespaceClasses })

0 commit comments

Comments
 (0)