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