Skip to content

Commit

Permalink
fixup test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Apr 14, 2020
1 parent 4a5d4c7 commit 78c012f
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 2 deletions.
84 changes: 82 additions & 2 deletions packages/jsii-reflect/test/__snapshots__/jsii-tree.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1668,6 +1668,21 @@ exports[`jsii-tree --all 1`] = `
│ │ └─┬ operand property (experimental)
│ │ ├── immutable
│ │ └── type: @scope/jsii-calc-lib.Value
│ ├─┬ class UpcasingReflectable (experimental)
│ │ ├── interfaces: IReflectable
│ │ └─┬ members
│ │ ├─┬ <initializer>(delegate) initializer (experimental)
│ │ │ └─┬ parameters
│ │ │ └─┬ delegate
│ │ │ └── type: Map<string => any>
│ │ ├─┬ static reflector property (experimental)
│ │ │ ├── const
│ │ │ ├── immutable
│ │ │ ├── static
│ │ │ └── type: @scope/jsii-calc-lib.submodule.Reflector
│ │ └─┬ entries property (experimental)
│ │ ├── immutable
│ │ └── type: Array<@scope/jsii-calc-lib.submodule.ReflectableEntry>
│ ├─┬ class UseBundledDependency (experimental)
│ │ └─┬ members
│ │ ├── <initializer>() initializer (experimental)
Expand Down Expand Up @@ -2393,6 +2408,33 @@ exports[`jsii-tree --all 1`] = `
├─┬ dependencies
│ ├── @scope/jsii-calc-base
│ └── @scope/jsii-calc-base-of-base
├─┬ submodules
│ └─┬ submodule
│ └─┬ types
│ ├─┬ class Reflector (deprecated)
│ │ └─┬ members
│ │ ├── <initializer>() initializer (deprecated)
│ │ └─┬ asMap(reflectable) method (deprecated)
│ │ ├─┬ parameters
│ │ │ └─┬ reflectable
│ │ │ └── type: @scope/jsii-calc-lib.submodule.IReflectable
│ │ └── returns: Map<string => any>
│ ├─┬ interface IReflectable (deprecated)
│ │ └─┬ members
│ │ └─┬ entries property (deprecated)
│ │ ├── abstract
│ │ ├── immutable
│ │ └── type: Array<@scope/jsii-calc-lib.submodule.ReflectableEntry>
│ └─┬ interface ReflectableEntry (deprecated)
│ └─┬ members
│ ├─┬ key property (deprecated)
│ │ ├── abstract
│ │ ├── immutable
│ │ └── type: string
│ └─┬ value property (deprecated)
│ ├── abstract
│ ├── immutable
│ └── type: any
└─┬ types
├─┬ class Number (deprecated)
│ ├── base: Value
Expand Down Expand Up @@ -2649,6 +2691,8 @@ exports[`jsii-tree --inheritance 1`] = `
│ ├── class Thrower
│ ├─┬ class UnaryOperation
│ │ └── base: Operation
│ ├─┬ class UpcasingReflectable
│ │ └── interfaces: IReflectable
│ ├── class UseBundledDependency
│ ├── class UseCalcBase
│ ├── class UsesInterfaceWithProperties
Expand Down Expand Up @@ -2770,6 +2814,12 @@ exports[`jsii-tree --inheritance 1`] = `
│ ├── interface IVeryBaseInterface
│ └── interface VeryBaseProps
└─┬ @scope/jsii-calc-lib
├─┬ submodules
│ └─┬ submodule
│ └─┬ types
│ ├── class Reflector
│ ├── interface IReflectable
│ └── interface ReflectableEntry
└─┬ types
├─┬ class Number
│ ├── base: Value
Expand Down Expand Up @@ -3532,6 +3582,11 @@ exports[`jsii-tree --members 1`] = `
│ │ └─┬ members
│ │ ├── <initializer>(operand) initializer
│ │ └── operand property
│ ├─┬ class UpcasingReflectable
│ │ └─┬ members
│ │ ├── <initializer>(delegate) initializer
│ │ ├── static reflector property
│ │ └── entries property
│ ├─┬ class UseBundledDependency
│ │ └─┬ members
│ │ ├── <initializer>() initializer
Expand Down Expand Up @@ -3853,6 +3908,20 @@ exports[`jsii-tree --members 1`] = `
│ └─┬ members
│ └── foo property
└─┬ @scope/jsii-calc-lib
├─┬ submodules
│ └─┬ submodule
│ └─┬ types
│ ├─┬ class Reflector
│ │ └─┬ members
│ │ ├── <initializer>() initializer
│ │ └── asMap(reflectable) method
│ ├─┬ interface IReflectable
│ │ └─┬ members
│ │ └── entries property
│ └─┬ interface ReflectableEntry
│ └─┬ members
│ ├── key property
│ └── value property
└─┬ types
├─┬ class Number
│ └─┬ members
Expand Down Expand Up @@ -3910,7 +3979,9 @@ exports[`jsii-tree --signatures 1`] = `
│ └── deeplyNested
├── @scope/jsii-calc-base
├── @scope/jsii-calc-base-of-base
└── @scope/jsii-calc-lib
└─┬ @scope/jsii-calc-lib
└─┬ submodules
└── submodule
"
`;

Expand Down Expand Up @@ -4055,6 +4126,7 @@ exports[`jsii-tree --types 1`] = `
│ ├── class SyncVirtualMethods
│ ├── class Thrower
│ ├── class UnaryOperation
│ ├── class UpcasingReflectable
│ ├── class UseBundledDependency
│ ├── class UseCalcBase
│ ├── class UsesInterfaceWithProperties
Expand Down Expand Up @@ -4146,6 +4218,12 @@ exports[`jsii-tree --types 1`] = `
│ ├── interface IVeryBaseInterface
│ └── interface VeryBaseProps
└─┬ @scope/jsii-calc-lib
├─┬ submodules
│ └─┬ submodule
│ └─┬ types
│ ├── class Reflector
│ ├── interface IReflectable
│ └── interface ReflectableEntry
└─┬ types
├── class Number
├── class Operation
Expand Down Expand Up @@ -4176,6 +4254,8 @@ exports[`jsii-tree 1`] = `
│ └── deeplyNested
├── @scope/jsii-calc-base
├── @scope/jsii-calc-base-of-base
└── @scope/jsii-calc-lib
└─┬ @scope/jsii-calc-lib
└─┬ submodules
└── submodule
"
`;
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Array [
"@scope/jsii-calc-lib.Number",
"@scope/jsii-calc-lib.Operation",
"@scope/jsii-calc-lib.Value",
"@scope/jsii-calc-lib.submodule.Reflector",
"jsii-calc.AbstractClass",
"jsii-calc.AbstractClassBase",
"jsii-calc.AbstractClassReturner",
Expand Down Expand Up @@ -121,6 +122,7 @@ Array [
"jsii-calc.SyncVirtualMethods",
"jsii-calc.Thrower",
"jsii-calc.UnaryOperation",
"jsii-calc.UpcasingReflectable",
"jsii-calc.UseBundledDependency",
"jsii-calc.UseCalcBase",
"jsii-calc.UsesInterfaceWithProperties",
Expand Down

0 comments on commit 78c012f

Please sign in to comment.