When using mockery to mock modules while testing, don't forget to disable it after the tests are done:
after(function () {
mockery.disable();
});| console.log('1'); |
| { | |
| "global": { | |
| "check_for_updates_on_startup": true, | |
| "show_in_menu_bar": false, | |
| "show_profile_name_in_menu_bar": false | |
| }, | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "parameters": { |
| { | |
| "editor.fontSize": 13.3, | |
| "editor.lineHeight": 17 | |
| } |
When using mockery to mock modules while testing, don't forget to disable it after the tests are done:
after(function () {
mockery.disable();
});