diff options
Diffstat (limited to 'spec/javascripts/ide/stores/getters_spec.js')
-rw-r--r-- | spec/javascripts/ide/stores/getters_spec.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/javascripts/ide/stores/getters_spec.js b/spec/javascripts/ide/stores/getters_spec.js index 70883e16b0d..9c135661997 100644 --- a/spec/javascripts/ide/stores/getters_spec.js +++ b/spec/javascripts/ide/stores/getters_spec.js @@ -179,4 +179,14 @@ describe('IDE store getters', () => { }); }); }); + + describe('packageJson', () => { + it('returns package.json entry', () => { + localState.entries['package.json'] = { name: 'package.json' }; + + expect(getters.packageJson(localState)).toEqual({ + name: 'package.json', + }); + }); + }); }); |