-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update the PR with suggested changes
- Loading branch information
Showing
5 changed files
with
280 additions
and
80 deletions.
There are no files selected for viewing
16 changes: 14 additions & 2 deletions
16
ansible_ai_connect_admin_portal/__mocks__/monaco-editor.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
module.exports = { | ||
// Stub methods as needed (we should not need any for the Admin Portal) | ||
const editor = { | ||
create: () => { | ||
return { | ||
dispose: () => {}, | ||
} | ||
}, | ||
defineTheme: function() {} | ||
}; | ||
|
||
const monaco = { | ||
editor, | ||
languages: {json: {jsonDefaults: { setDiagnosticsOptions: function () {}}}} | ||
}; | ||
|
||
module.exports = monaco; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const monacoYaml = { | ||
configureMonacoYaml: function () {} | ||
}; | ||
|
||
module.exports = monacoYaml; |
Oops, something went wrong.