diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-07-20 14:08:47 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-07-20 14:08:47 +0300 |
commit | 7728412d8b0964db7a336a048eb0489af740ccdd (patch) | |
tree | 0c606da4e186549f43a96a448cd564b1d104c120 /spec/javascripts/repo/monaco_loader_spec.js | |
parent | e187edc8ec8edf3493efe638db65a43714fcad9e (diff) |
Added monaco_loader test
Diffstat (limited to 'spec/javascripts/repo/monaco_loader_spec.js')
-rw-r--r-- | spec/javascripts/repo/monaco_loader_spec.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/javascripts/repo/monaco_loader_spec.js b/spec/javascripts/repo/monaco_loader_spec.js new file mode 100644 index 00000000000..4e9ce7fc7fe --- /dev/null +++ b/spec/javascripts/repo/monaco_loader_spec.js @@ -0,0 +1,8 @@ +describe('MonacoLoader', () => { + it('sets __monaco_context__', () => { + const monacoContext = require('monaco-editor/dev/vs/loader'); // eslint-disable-line global-require + + expect(window.__monaco_context__) // eslint-disable-line no-underscore-dangle + .toBe(monacoContext); + }); +}); |