feat: remove deprecated additionalFeatures (#28548)
This commit is contained in:
parent
8164322195
commit
e12a3cb59c
7 changed files with 47 additions and 41 deletions
|
@ -4,7 +4,7 @@ describe('feature-string parsing', () => {
|
|||
it('is indifferent to whitespace around keys and values', () => {
|
||||
const { parseCommaSeparatedKeyValue } = require('../lib/common/parse-features-string');
|
||||
const checkParse = (string: string, parsed: Record<string, string | boolean>) => {
|
||||
const features = parseCommaSeparatedKeyValue(string, true).parsed;
|
||||
const features = parseCommaSeparatedKeyValue(string);
|
||||
expect(features).to.deep.equal(parsed);
|
||||
};
|
||||
checkParse('a=yes,c=d', { a: true, c: 'd' });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue