mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-26 13:19:42 +00:00
Add policy support for linux (#272579)
This commit is contained in:
@@ -114,6 +114,16 @@ suite('StringEnumPolicy', () => {
|
||||
assert.strictEqual(presentation, '<presentation id="TestStringEnumPolicy"><dropdownList refId="TestStringEnumPolicy" /></presentation>');
|
||||
});
|
||||
|
||||
test('should render JSON value correctly', () => {
|
||||
const policy = StringEnumPolicy.from(mockCategory, mockPolicy);
|
||||
|
||||
assert.ok(policy);
|
||||
|
||||
const jsonValue = policy.renderJsonValue();
|
||||
|
||||
assert.strictEqual(jsonValue, 'auto');
|
||||
});
|
||||
|
||||
test('should render profile value correctly', () => {
|
||||
const policy = StringEnumPolicy.from(mockCategory, mockPolicy);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user