mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Config::getSchema - use null to represent inaccessible key path
This commit is contained in:
@@ -1142,8 +1142,8 @@ describe "Config", ->
|
||||
type: 'integer'
|
||||
default: 12
|
||||
|
||||
expect(atom.config.getSchema('foo.baz')).toBe(null)
|
||||
expect(atom.config.getSchema('foo.bar.anInt.baz')).toBe(false)
|
||||
expect(atom.config.getSchema('foo.baz')).toEqual {type: 'any'}
|
||||
expect(atom.config.getSchema('foo.bar.anInt.baz')).toBe(null)
|
||||
|
||||
it "respects the schema for scoped settings", ->
|
||||
schema =
|
||||
|
||||
Reference in New Issue
Block a user