Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Nov 18, 2023
1 parent 8b85176 commit 69bf193
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CDNSettingsConsent } from '../../types'
import { segmentShouldBeDisabled } from '../disable-segment'

describe('segmentShouldBeDisabled', () => {
it('should be disabled if user has only consented to irrelevant vategories', () => {
it('should be disabled if user has only consented to irrelevant categories: multiple', () => {
const consentCategories = { foo: true, bar: true, baz: false }
const consentSettings: CDNSettingsConsent = {
allCategories: ['baz', 'qux'],
Expand All @@ -13,7 +13,7 @@ describe('segmentShouldBeDisabled', () => {
)
})

it('should be disabled if user has only consented to irrelevant categories', () => {
it('should be disabled if user has only consented to irrelevant categories: single', () => {
const consentCategories = { foo: true }
const consentSettings = {
allCategories: ['bar'],
Expand Down

0 comments on commit 69bf193

Please sign in to comment.