Use safelist

This commit is contained in:
Adam Wathan 2022-07-18 09:31:41 -04:00
parent 415f0a3544
commit 268ef00696
2 changed files with 2 additions and 2 deletions

View file

@ -1645,7 +1645,7 @@ No release notes
- Make it possible to disable all core plugins using `corePlugins: false`
- Make it possible to configure a single list of variants that applies to all utility plugins
- Make it possible to whitelist which core plugins should be enabled
- Make it possible to safelist which core plugins should be enabled
### Fixed

View file

@ -16,7 +16,7 @@ test('passing only false removes all plugins', () => {
expect(configuredPlugins).toEqual([])
})
test('passing an array whitelists plugins', () => {
test('passing an array safelists plugins', () => {
const plugins = ['fontSize', 'display', 'backgroundPosition']
const configuredPlugins = configurePlugins(['display'], plugins)