mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Add policy support for linux (#272579)
This commit is contained in:
@@ -96,6 +96,16 @@ suite('ObjectPolicy', () => {
|
||||
assert.strictEqual(presentation, '<presentation id="TestObjectPolicy"><multiTextBox refId="TestObjectPolicy" /></presentation>');
|
||||
});
|
||||
|
||||
test('should render JSON value correctly', () => {
|
||||
const policy = ObjectPolicy.from(mockCategory, mockPolicy);
|
||||
|
||||
assert.ok(policy);
|
||||
|
||||
const jsonValue = policy.renderJsonValue();
|
||||
|
||||
assert.strictEqual(jsonValue, '');
|
||||
});
|
||||
|
||||
test('should render profile value correctly', () => {
|
||||
const policy = ObjectPolicy.from(mockCategory, mockPolicy);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user