@jbrowse/core 2.0.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseFeatureWidget/BaseFeatureDetail.d.ts +9 -3
- package/BaseFeatureWidget/BaseFeatureDetail.js +313 -581
- package/BaseFeatureWidget/SequenceFeatureDetails.js +213 -478
- package/BaseFeatureWidget/index.js +88 -126
- package/BaseFeatureWidget/types.d.ts +1 -0
- package/BaseFeatureWidget/types.js +1 -4
- package/BaseFeatureWidget/util.js +40 -75
- package/CorePlugin.js +55 -94
- package/Plugin.js +9 -34
- package/PluginLoader.js +153 -422
- package/PluginManager.d.ts +28 -33
- package/PluginManager.js +377 -666
- package/ReExports/Attributes.js +3 -10
- package/ReExports/BaseCard.js +3 -10
- package/ReExports/DataGrid.js +5 -12
- package/ReExports/FeatureDetails.js +3 -10
- package/ReExports/index.js +6 -12
- package/ReExports/list.d.ts +5 -0
- package/ReExports/list.js +271 -7
- package/ReExports/material-ui-colors.js +15 -16
- package/ReExports/modules.d.ts +11 -20
- package/ReExports/modules.js +453 -798
- package/TextSearch/BaseResults.js +51 -123
- package/TextSearch/TextSearchManager.js +66 -144
- package/assemblyManager/assembly.js +280 -555
- package/assemblyManager/assemblyConfigSchema.js +47 -64
- package/assemblyManager/assemblyManager.js +126 -272
- package/assemblyManager/index.js +9 -22
- package/configuration/configurationSchema.js +167 -203
- package/configuration/configurationSlot.js +248 -326
- package/configuration/index.js +19 -35
- package/configuration/util.js +131 -173
- package/data_adapters/BaseAdapter.d.ts +2 -2
- package/data_adapters/BaseAdapter.js +132 -521
- package/data_adapters/CytobandAdapter.js +40 -126
- package/data_adapters/dataAdapterCache.js +77 -158
- package/package.json +4 -5
- package/pluggableElementTypes/AdapterType.js +24 -79
- package/pluggableElementTypes/AddTrackWorkflowType.d.ts +17 -0
- package/pluggableElementTypes/AddTrackWorkflowType.js +20 -0
- package/pluggableElementTypes/ConnectionType.js +22 -65
- package/pluggableElementTypes/DisplayType.js +35 -82
- package/pluggableElementTypes/InternetAccountType.js +23 -64
- package/pluggableElementTypes/PluggableElementBase.js +8 -20
- package/pluggableElementTypes/RpcMethodType.js +85 -427
- package/pluggableElementTypes/TextSearchAdapterType.js +16 -55
- package/pluggableElementTypes/TrackType.js +26 -70
- package/pluggableElementTypes/ViewType.js +21 -63
- package/pluggableElementTypes/WidgetType.js +21 -64
- package/pluggableElementTypes/index.d.ts +4 -3
- package/pluggableElementTypes/index.js +42 -125
- package/pluggableElementTypes/models/BaseConnectionModelFactory.js +28 -43
- package/pluggableElementTypes/models/BaseDisplayModel.js +58 -95
- package/pluggableElementTypes/models/BaseTrackModel.js +139 -199
- package/pluggableElementTypes/models/BaseViewModel.js +24 -40
- package/pluggableElementTypes/models/InternetAccountModel.js +116 -263
- package/pluggableElementTypes/models/baseConnectionConfig.js +14 -25
- package/pluggableElementTypes/models/baseInternetAccountConfig.js +29 -38
- package/pluggableElementTypes/models/baseTrackConfig.js +106 -133
- package/pluggableElementTypes/models/index.js +21 -70
- package/pluggableElementTypes/renderers/BoxRendererType.js +132 -291
- package/pluggableElementTypes/renderers/CircularChordRendererType.js +8 -38
- package/pluggableElementTypes/renderers/ComparativeServerSideRendererType.js +60 -192
- package/pluggableElementTypes/renderers/FeatureRendererType.d.ts +0 -2
- package/pluggableElementTypes/renderers/FeatureRendererType.js +89 -255
- package/pluggableElementTypes/renderers/RendererType.js +31 -105
- package/pluggableElementTypes/renderers/ServerSideRenderedContent.js +61 -72
- package/pluggableElementTypes/renderers/ServerSideRendererType.js +112 -265
- package/pluggableElementTypes/renderers/index.js +19 -62
- package/pluggableElementTypes/renderers/util/serializableFilterChain.js +27 -65
- package/rpc/BaseRpcDriver.js +169 -405
- package/rpc/MainThreadRpcDriver.js +27 -150
- package/rpc/RpcManager.js +58 -159
- package/rpc/WebWorkerRpcDriver.js +54 -171
- package/rpc/configSchema.js +25 -49
- package/rpc/coreRpcMethods.d.ts +1 -3
- package/rpc/coreRpcMethods.js +221 -959
- package/rpc/remoteAbortSignals.js +46 -70
- package/tsconfig.build.tsbuildinfo +1 -1
- package/ui/AboutDialog.js +106 -162
- package/ui/App.js +157 -242
- package/ui/AssemblySelector.js +59 -120
- package/ui/CascadingMenu.js +101 -196
- package/ui/ColorPicker.d.ts +16 -0
- package/ui/ColorPicker.js +97 -0
- package/ui/Drawer.js +28 -61
- package/ui/DrawerWidget.js +108 -202
- package/ui/DropDownMenu.js +60 -91
- package/ui/EditableTypography.js +87 -149
- package/ui/ErrorMessage.js +41 -56
- package/ui/FactoryResetDialog.js +24 -57
- package/ui/FatalErrorDialog.js +59 -91
- package/ui/FileSelector/FileSelector.js +123 -189
- package/ui/FileSelector/LocalFileChooser.js +44 -75
- package/ui/FileSelector/UrlChooser.js +17 -38
- package/ui/FileSelector/index.js +6 -12
- package/ui/Icons.js +45 -69
- package/ui/Logo.js +57 -110
- package/ui/Menu.js +232 -354
- package/ui/PrerenderedCanvas.js +63 -87
- package/ui/ResizeHandle.js +87 -116
- package/ui/ReturnToImportFormDialog.js +32 -63
- package/ui/SanitizedHTML.js +64 -47
- package/ui/Snackbar.js +74 -101
- package/ui/SnackbarModel.js +37 -51
- package/ui/Tooltip.js +49 -76
- package/ui/ViewContainer.js +113 -196
- package/ui/colors.d.ts +10 -0
- package/ui/colors.js +78 -0
- package/ui/index.js +51 -181
- package/ui/react-colorful.d.ts +17 -0
- package/ui/react-colorful.js +455 -0
- package/ui/theme.d.ts +23 -1
- package/ui/theme.js +199 -247
- package/util/Base1DUtils.d.ts +32 -0
- package/util/Base1DUtils.js +174 -0
- package/util/Base1DViewModel.d.ts +16 -30
- package/util/Base1DViewModel.js +116 -293
- package/util/QuickLRU.js +84 -332
- package/util/TimeTraveller.d.ts +19 -0
- package/util/TimeTraveller.js +86 -0
- package/util/aborting.js +49 -127
- package/util/analytics.js +91 -154
- package/util/blockTypes.js +106 -240
- package/util/calculateDynamicBlocks.js +98 -128
- package/util/calculateStaticBlocks.js +105 -125
- package/util/color/cssColorsLevel4.js +156 -160
- package/util/color/index.js +33 -55
- package/util/compositeMap.js +49 -333
- package/util/formatFastaStrings.js +9 -14
- package/util/idMaker.js +18 -31
- package/util/index.d.ts +18 -32
- package/util/index.js +747 -1226
- package/util/io/RemoteFileWithRangeCache.js +88 -257
- package/util/io/index.js +95 -169
- package/util/jexl.js +60 -115
- package/util/jexlStrings.js +24 -29
- package/util/layouts/BaseLayout.js +1 -4
- package/util/layouts/GranularRectLayout.js +388 -555
- package/util/layouts/MultiLayout.js +41 -109
- package/util/layouts/PrecomputedLayout.js +56 -112
- package/util/layouts/PrecomputedMultiLayout.js +22 -59
- package/util/layouts/SceneGraph.js +127 -197
- package/util/layouts/index.js +29 -66
- package/util/mst-reflection.js +55 -71
- package/util/offscreenCanvasPonyfill.js +66 -134
- package/util/offscreenCanvasUtils.d.ts +2 -7
- package/util/offscreenCanvasUtils.js +49 -146
- package/util/range.js +29 -40
- package/util/rxjs.js +20 -27
- package/util/simpleFeature.js +88 -152
- package/util/stats.js +91 -151
- package/util/tracks.js +130 -173
- package/util/types/index.js +110 -179
- package/util/types/mst.js +91 -146
- package/util/types/util.js +1 -4
- package/util/when.js +54 -101
- package/BaseFeatureWidget/SequenceFeatureDetails.test.js +0 -122
- package/BaseFeatureWidget/index.test.js +0 -69
- package/TextSearch/BaseResults.test.js +0 -42
- package/configuration/configurationSchema.test.js +0 -266
- package/configuration/configurationSlot.test.js +0 -69
- package/configuration/util.test.js +0 -39
- package/data_adapters/BaseAdapter.test.js +0 -200
- package/declare.d.js +0 -1
- package/pluggableElementTypes/RpcMethodType.test.js +0 -118
- package/pluggableElementTypes/renderers/declare.d.js +0 -1
- package/pluggableElementTypes/renderers/util/serializableFilterChain.test.js +0 -20
- package/rpc/BaseRpcDriver.test.js +0 -540
- package/rpc/declaration.d.js +0 -1
- package/ui/FatalErrorDialog.test.js +0 -82
- package/ui/SanitizedHTML.test.js +0 -36
- package/ui/theme.test.js +0 -92
- package/util/Base1DViewModel.test.js +0 -130
- package/util/calculateDynamicBlocks.test.js +0 -74
- package/util/calculateStaticBlocks.test.js +0 -297
- package/util/declare.d.js +0 -1
- package/util/formatFastaStrings.test.js +0 -40
- package/util/index.test.js +0 -213
- package/util/jexlStrings.test.js +0 -48
- package/util/layouts/GranularRectLayout.test.js +0 -99
- package/util/range.test.js +0 -64
- package/util/simpleFeature.test.js +0 -34
- package/util/stats.test.js +0 -172
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _mobxStateTree = require("mobx-state-tree");
|
|
4
|
-
|
|
5
|
-
var _configurationSchema = require("./configurationSchema");
|
|
6
|
-
|
|
7
|
-
var _util = require("./util");
|
|
8
|
-
|
|
9
|
-
var _ = require(".");
|
|
10
|
-
|
|
11
|
-
describe('configuration schemas', function () {
|
|
12
|
-
test('can make a schema with a color', function () {
|
|
13
|
-
var container = _mobxStateTree.types.model({
|
|
14
|
-
configuration: (0, _configurationSchema.ConfigurationSchema)('Track', {
|
|
15
|
-
backgroundColor: {
|
|
16
|
-
description: "the track's background color",
|
|
17
|
-
type: 'color',
|
|
18
|
-
defaultValue: '#eee'
|
|
19
|
-
},
|
|
20
|
-
someInteger: {
|
|
21
|
-
description: 'an integer slot',
|
|
22
|
-
type: 'integer',
|
|
23
|
-
defaultValue: 12
|
|
24
|
-
}
|
|
25
|
-
})
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
var model = container.create();
|
|
29
|
-
expect((0, _util.isConfigurationModel)(model.configuration)).toBe(true);
|
|
30
|
-
expect((0, _.getConf)(model, 'backgroundColor')).toBe('#eee');
|
|
31
|
-
expect((0, _.getConf)(model, 'someInteger')).toBe(12);
|
|
32
|
-
model.configuration.backgroundColor.set("jexl:'#'+a");
|
|
33
|
-
expect((0, _.getConf)(model, 'backgroundColor', {
|
|
34
|
-
a: 'zonk'
|
|
35
|
-
})).toBe('#zonk');
|
|
36
|
-
expect((0, _.getConf)(model, 'backgroundColor', {
|
|
37
|
-
a: 'bar'
|
|
38
|
-
})).toBe('#bar');
|
|
39
|
-
model.configuration.backgroundColor.set('hoog');
|
|
40
|
-
expect((0, _.getConf)(model, 'backgroundColor', {
|
|
41
|
-
a: 'zonk'
|
|
42
|
-
})).toBe('hoog');
|
|
43
|
-
model.configuration.someInteger.set('jexl:5+a');
|
|
44
|
-
expect((0, _.getConf)(model, 'someInteger', {
|
|
45
|
-
a: 5
|
|
46
|
-
})).toBe(10);
|
|
47
|
-
model.configuration.someInteger.set(42);
|
|
48
|
-
expect((0, _.getConf)(model, 'someInteger', {
|
|
49
|
-
a: 5
|
|
50
|
-
})).toBe(42);
|
|
51
|
-
});
|
|
52
|
-
test('can nest an array of configuration schemas', function () {
|
|
53
|
-
var container = _mobxStateTree.types.model({
|
|
54
|
-
configuration: (0, _configurationSchema.ConfigurationSchema)('Foo', {
|
|
55
|
-
someInteger: {
|
|
56
|
-
description: 'an integer slot',
|
|
57
|
-
type: 'integer',
|
|
58
|
-
defaultValue: 12
|
|
59
|
-
},
|
|
60
|
-
myArrayOfSubConfigurations: _mobxStateTree.types.array((0, _configurationSchema.ConfigurationSchema)('SubObject', {
|
|
61
|
-
someNumber: {
|
|
62
|
-
description: 'some number in a subconfiguration',
|
|
63
|
-
type: 'number',
|
|
64
|
-
defaultValue: 4.3
|
|
65
|
-
}
|
|
66
|
-
}))
|
|
67
|
-
})
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
var model = container.create();
|
|
71
|
-
expect((0, _.getConf)(model, 'someInteger')).toBe(12); // expect(getConf(model, 'myArrayOfSubConfigurations')).toBe(undefined)
|
|
72
|
-
});
|
|
73
|
-
test('can nest a single subconfiguration schema', function () {
|
|
74
|
-
var container = _mobxStateTree.types.model({
|
|
75
|
-
configuration: (0, _configurationSchema.ConfigurationSchema)('Foo', {
|
|
76
|
-
someInteger: {
|
|
77
|
-
description: 'an integer slot',
|
|
78
|
-
type: 'integer',
|
|
79
|
-
defaultValue: 12
|
|
80
|
-
},
|
|
81
|
-
mySubConfiguration: (0, _configurationSchema.ConfigurationSchema)('SubObject', {
|
|
82
|
-
someNumber: {
|
|
83
|
-
description: 'some number in a subconfiguration',
|
|
84
|
-
type: 'number',
|
|
85
|
-
defaultValue: 4.3
|
|
86
|
-
}
|
|
87
|
-
})
|
|
88
|
-
})
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
var model = container.create();
|
|
92
|
-
expect((0, _util.isConfigurationModel)(model.configuration)).toBe(true);
|
|
93
|
-
expect((0, _.getConf)(model, 'someInteger')).toBe(12); // expect(getConf(model, 'mySubConfiguration.someNumber')).toBe(4.3)
|
|
94
|
-
});
|
|
95
|
-
test('can snapshot a simple schema', function () {
|
|
96
|
-
var container = _mobxStateTree.types.model({
|
|
97
|
-
configuration: (0, _configurationSchema.ConfigurationSchema)('Foo', {
|
|
98
|
-
someInteger: {
|
|
99
|
-
description: 'an integer slot',
|
|
100
|
-
type: 'integer',
|
|
101
|
-
defaultValue: 12
|
|
102
|
-
}
|
|
103
|
-
})
|
|
104
|
-
});
|
|
105
|
-
|
|
106
|
-
var model = container.create({
|
|
107
|
-
configuration: {
|
|
108
|
-
someInteger: 42
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
expect((0, _.getConf)(model, 'someInteger')).toEqual(42);
|
|
112
|
-
expect((0, _mobxStateTree.getSnapshot)(model)).toEqual({
|
|
113
|
-
configuration: {
|
|
114
|
-
someInteger: 42
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
expect((0, _.getConf)(model, 'someInteger')).toEqual(42);
|
|
118
|
-
var model2 = container.create({
|
|
119
|
-
configuration: {}
|
|
120
|
-
});
|
|
121
|
-
expect((0, _mobxStateTree.getSnapshot)(model2)).toEqual({
|
|
122
|
-
configuration: {}
|
|
123
|
-
});
|
|
124
|
-
expect((0, _.getConf)(model2, 'someInteger')).toEqual(12);
|
|
125
|
-
});
|
|
126
|
-
test('can snapshot a nested schema 1', function () {
|
|
127
|
-
var container = _mobxStateTree.types.model({
|
|
128
|
-
configuration: (0, _configurationSchema.ConfigurationSchema)('Foo', {
|
|
129
|
-
someInteger: {
|
|
130
|
-
description: 'an integer slot',
|
|
131
|
-
type: 'integer',
|
|
132
|
-
defaultValue: 12
|
|
133
|
-
},
|
|
134
|
-
mySubConfiguration: (0, _configurationSchema.ConfigurationSchema)('SubObject1', {
|
|
135
|
-
someNumber: {
|
|
136
|
-
description: 'some number in a subconfiguration',
|
|
137
|
-
type: 'number',
|
|
138
|
-
defaultValue: 4.3
|
|
139
|
-
}
|
|
140
|
-
}),
|
|
141
|
-
myArrayOfSubConfigurations: _mobxStateTree.types.array((0, _configurationSchema.ConfigurationSchema)('SubObject2', {
|
|
142
|
-
someNumber: {
|
|
143
|
-
description: 'some number in a subconfiguration',
|
|
144
|
-
type: 'number',
|
|
145
|
-
defaultValue: 3.5
|
|
146
|
-
}
|
|
147
|
-
}))
|
|
148
|
-
})
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
var model = container.create({
|
|
152
|
-
configuration: {
|
|
153
|
-
someInteger: 42,
|
|
154
|
-
mySubConfiguration: {},
|
|
155
|
-
myArrayOfSubConfigurations: [{
|
|
156
|
-
someNumber: 3.5
|
|
157
|
-
}, {
|
|
158
|
-
someNumber: 11.1
|
|
159
|
-
}]
|
|
160
|
-
}
|
|
161
|
-
});
|
|
162
|
-
expect((0, _mobxStateTree.getSnapshot)(model)).toEqual({
|
|
163
|
-
configuration: {
|
|
164
|
-
someInteger: 42,
|
|
165
|
-
// mySubConfiguration is set to the default, so doesn't appear in snapshot
|
|
166
|
-
myArrayOfSubConfigurations: [{}, {
|
|
167
|
-
someNumber: 11.1
|
|
168
|
-
}]
|
|
169
|
-
}
|
|
170
|
-
});
|
|
171
|
-
});
|
|
172
|
-
test('can snapshot a nested schema 2', function () {
|
|
173
|
-
var container = _mobxStateTree.types.model({
|
|
174
|
-
configuration: (0, _configurationSchema.ConfigurationSchema)('Foo', {
|
|
175
|
-
someInteger: {
|
|
176
|
-
description: 'an integer slot',
|
|
177
|
-
type: 'integer',
|
|
178
|
-
defaultValue: 12
|
|
179
|
-
},
|
|
180
|
-
myConfigurationMap: _mobxStateTree.types.map((0, _configurationSchema.ConfigurationSchema)('MappedConfiguration', {
|
|
181
|
-
mappedValue: {
|
|
182
|
-
description: 'something in a mapped configuration',
|
|
183
|
-
type: 'number',
|
|
184
|
-
defaultValue: 101
|
|
185
|
-
}
|
|
186
|
-
})),
|
|
187
|
-
mySubConfiguration: (0, _configurationSchema.ConfigurationSchema)('SubObject1', {
|
|
188
|
-
someNumber: {
|
|
189
|
-
description: 'some number in a subconfiguration',
|
|
190
|
-
type: 'number',
|
|
191
|
-
defaultValue: 4.3
|
|
192
|
-
}
|
|
193
|
-
}),
|
|
194
|
-
myArrayOfSubConfigurations: _mobxStateTree.types.array((0, _configurationSchema.ConfigurationSchema)('SubObject2', {
|
|
195
|
-
someNumber: {
|
|
196
|
-
description: 'some number in a subconfiguration',
|
|
197
|
-
type: 'number',
|
|
198
|
-
defaultValue: 3.5
|
|
199
|
-
}
|
|
200
|
-
}))
|
|
201
|
-
})
|
|
202
|
-
});
|
|
203
|
-
|
|
204
|
-
var model = container.create({
|
|
205
|
-
configuration: {
|
|
206
|
-
someInteger: 12,
|
|
207
|
-
myConfigurationMap: {
|
|
208
|
-
nog: {}
|
|
209
|
-
},
|
|
210
|
-
mySubConfiguration: {
|
|
211
|
-
someNumber: 12
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
});
|
|
215
|
-
expect((0, _mobxStateTree.getSnapshot)(model)).toEqual({
|
|
216
|
-
configuration: {
|
|
217
|
-
myConfigurationMap: {
|
|
218
|
-
nog: {}
|
|
219
|
-
},
|
|
220
|
-
mySubConfiguration: {
|
|
221
|
-
someNumber: 12
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
expect((0, _.getConf)(model, ['mySubConfiguration', 'someNumber'])).toEqual(12);
|
|
226
|
-
});
|
|
227
|
-
test('re-check instantiation of slots (issue #797)', function () {
|
|
228
|
-
var configSchema = (0, _configurationSchema.ConfigurationSchema)('Gff3TabixAdapter', {
|
|
229
|
-
gffGzLocation: {
|
|
230
|
-
type: 'fileLocation',
|
|
231
|
-
defaultValue: {
|
|
232
|
-
uri: '/path/to/my.gff.gz',
|
|
233
|
-
locationType: 'UriLocation'
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
index: (0, _configurationSchema.ConfigurationSchema)('Gff3TabixIndex', {
|
|
237
|
-
indexType: {
|
|
238
|
-
model: _mobxStateTree.types.enumeration('IndexType', ['TBI', 'CSI']),
|
|
239
|
-
type: 'stringEnum',
|
|
240
|
-
defaultValue: 'TBI'
|
|
241
|
-
},
|
|
242
|
-
location: {
|
|
243
|
-
type: 'fileLocation',
|
|
244
|
-
defaultValue: {
|
|
245
|
-
uri: '/path/to/my.gff.gz.tbi',
|
|
246
|
-
locationType: 'UriLocation'
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}),
|
|
250
|
-
dontRedispatch: {
|
|
251
|
-
type: 'stringArray',
|
|
252
|
-
defaultValue: ['chromosome', 'region']
|
|
253
|
-
},
|
|
254
|
-
thisShouldGetInstantiated: {
|
|
255
|
-
type: 'string',
|
|
256
|
-
defaultValue: 'Not instantiated'
|
|
257
|
-
}
|
|
258
|
-
}, {
|
|
259
|
-
explicitlyTyped: true
|
|
260
|
-
});
|
|
261
|
-
var tester = configSchema.create();
|
|
262
|
-
expect((0, _.readConfObject)(tester, 'dontRedispatch')[0]).toBe('chromosome');
|
|
263
|
-
expect((0, _.readConfObject)(tester, 'thisShouldGetInstantiated')).toBe('Not instantiated');
|
|
264
|
-
expect((0, _.readConfObject)(tester, ['index', 'indexType'])).toBe('TBI');
|
|
265
|
-
});
|
|
266
|
-
});
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
var _configurationSlot = _interopRequireDefault(require("./configurationSlot"));
|
|
6
|
-
|
|
7
|
-
test('can convert a string slot to and from a callback', function () {
|
|
8
|
-
var model = (0, _configurationSlot.default)('tester', {
|
|
9
|
-
type: 'string',
|
|
10
|
-
defaultValue: 'foo'
|
|
11
|
-
});
|
|
12
|
-
var instance = model.create();
|
|
13
|
-
expect(instance.value).toBe('foo');
|
|
14
|
-
expect(instance.expr.evalSync()).toBe('foo');
|
|
15
|
-
instance.convertToCallback();
|
|
16
|
-
expect(instance.value).toBe('jexl:"foo"');
|
|
17
|
-
expect(instance.expr.evalSync()).toBe('foo');
|
|
18
|
-
instance.convertToValue();
|
|
19
|
-
expect(instance.value).toBe('foo');
|
|
20
|
-
expect(instance.expr.evalSync()).toBe('foo');
|
|
21
|
-
});
|
|
22
|
-
test('can convert a numeric slot to and from a callback', function () {
|
|
23
|
-
var model = (0, _configurationSlot.default)('tester', {
|
|
24
|
-
type: 'number',
|
|
25
|
-
defaultValue: 12,
|
|
26
|
-
contextVariable: ['something']
|
|
27
|
-
});
|
|
28
|
-
var instance = model.create();
|
|
29
|
-
expect(instance.value).toBe(12);
|
|
30
|
-
expect(instance.expr.evalSync()).toBe(12);
|
|
31
|
-
instance.convertToCallback();
|
|
32
|
-
expect(instance.value).toBe('jexl:12');
|
|
33
|
-
expect(instance.expr.evalSync()).toBe(12);
|
|
34
|
-
});
|
|
35
|
-
test('can convert a stringArray slot to and from a callback', function () {
|
|
36
|
-
var model = (0, _configurationSlot.default)('tester', {
|
|
37
|
-
type: 'stringArray',
|
|
38
|
-
defaultValue: ['foo', 'bar']
|
|
39
|
-
});
|
|
40
|
-
var instance = model.create();
|
|
41
|
-
expect(instance.value).toEqual(['foo', 'bar']);
|
|
42
|
-
expect(instance.expr.evalSync()).toEqual(['foo', 'bar']);
|
|
43
|
-
instance.convertToCallback();
|
|
44
|
-
expect(instance.value).toContain('jexl:');
|
|
45
|
-
expect(instance.expr.evalSync()).toEqual(['foo', 'bar']);
|
|
46
|
-
instance.convertToValue();
|
|
47
|
-
expect(instance.expr.evalSync()).toEqual(['foo', 'bar']);
|
|
48
|
-
expect(instance.value).toEqual(['foo', 'bar']);
|
|
49
|
-
});
|
|
50
|
-
test('can convert a slot with a default function value to a scalar value', function () {
|
|
51
|
-
var model = (0, _configurationSlot.default)('tester', {
|
|
52
|
-
type: 'string',
|
|
53
|
-
defaultValue: 'jexl:get(feature,"foo")'
|
|
54
|
-
});
|
|
55
|
-
var instance = model.create();
|
|
56
|
-
expect(instance.value).toBe('jexl:get(feature,"foo")');
|
|
57
|
-
expect(function () {
|
|
58
|
-
return instance.expr.evalSync();
|
|
59
|
-
}).toThrow();
|
|
60
|
-
instance.convertToCallback();
|
|
61
|
-
expect(instance.value).toBe('jexl:get(feature,"foo")');
|
|
62
|
-
expect(function () {
|
|
63
|
-
return instance.expr.evalSync();
|
|
64
|
-
}).toThrow();
|
|
65
|
-
instance.convertToValue();
|
|
66
|
-
expect(instance.value).not.toContain('jexl:');
|
|
67
|
-
expect(instance.value).toBe('');
|
|
68
|
-
expect(instance.expr.evalSync()).toEqual('');
|
|
69
|
-
});
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _mobxStateTree = require("mobx-state-tree");
|
|
4
|
-
|
|
5
|
-
var _configurationSchema = require("./configurationSchema");
|
|
6
|
-
|
|
7
|
-
var _util = require("./util");
|
|
8
|
-
|
|
9
|
-
describe('getTypeNamesFromExplicitlyTypedUnion', function () {
|
|
10
|
-
test('regular config schemas', function () {
|
|
11
|
-
var one = (0, _configurationSchema.ConfigurationSchema)('One', {}, {
|
|
12
|
-
explicitlyTyped: true
|
|
13
|
-
});
|
|
14
|
-
var two = (0, _configurationSchema.ConfigurationSchema)('Two', {}, {
|
|
15
|
-
explicitlyTyped: true
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
var u = _mobxStateTree.types.union(one, two);
|
|
19
|
-
|
|
20
|
-
var names = (0, _util.getTypeNamesFromExplicitlyTypedUnion)(u);
|
|
21
|
-
expect(names).toEqual(['One', 'Two']);
|
|
22
|
-
});
|
|
23
|
-
test('late config schemas', function () {
|
|
24
|
-
var one = (0, _configurationSchema.ConfigurationSchema)('One', {}, {
|
|
25
|
-
explicitlyTyped: true
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
var two = _mobxStateTree.types.late(function () {
|
|
29
|
-
return (0, _configurationSchema.ConfigurationSchema)('Two', {}, {
|
|
30
|
-
explicitlyTyped: true
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
var u = _mobxStateTree.types.union(one, two);
|
|
35
|
-
|
|
36
|
-
var names = (0, _util.getTypeNamesFromExplicitlyTypedUnion)(u);
|
|
37
|
-
expect(names).toEqual(['One', 'Two']);
|
|
38
|
-
});
|
|
39
|
-
});
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
6
|
-
|
|
7
|
-
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
8
|
-
|
|
9
|
-
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
-
|
|
11
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
12
|
-
|
|
13
|
-
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
14
|
-
|
|
15
|
-
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
16
|
-
|
|
17
|
-
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
18
|
-
|
|
19
|
-
var _operators = require("rxjs/operators");
|
|
20
|
-
|
|
21
|
-
var _BaseAdapter = require("./BaseAdapter");
|
|
22
|
-
|
|
23
|
-
var _rxjs = require("../util/rxjs");
|
|
24
|
-
|
|
25
|
-
var _simpleFeature = _interopRequireDefault(require("../util/simpleFeature"));
|
|
26
|
-
|
|
27
|
-
var _configurationSchema = require("../configuration/configurationSchema");
|
|
28
|
-
|
|
29
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
30
|
-
|
|
31
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
32
|
-
|
|
33
|
-
describe('base data adapter', function () {
|
|
34
|
-
it('properly propagates errors in feature fetching', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
35
|
-
var Adapter, adapter, features, featuresArray;
|
|
36
|
-
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
37
|
-
while (1) {
|
|
38
|
-
switch (_context2.prev = _context2.next) {
|
|
39
|
-
case 0:
|
|
40
|
-
Adapter = /*#__PURE__*/function (_BaseFeatureDataAdapt) {
|
|
41
|
-
(0, _inherits2.default)(Adapter, _BaseFeatureDataAdapt);
|
|
42
|
-
|
|
43
|
-
var _super = _createSuper(Adapter);
|
|
44
|
-
|
|
45
|
-
function Adapter() {
|
|
46
|
-
(0, _classCallCheck2.default)(this, Adapter);
|
|
47
|
-
return _super.apply(this, arguments);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
(0, _createClass2.default)(Adapter, [{
|
|
51
|
-
key: "getRefNames",
|
|
52
|
-
value: function () {
|
|
53
|
-
var _getRefNames = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
54
|
-
return _regenerator.default.wrap(function _callee$(_context) {
|
|
55
|
-
while (1) {
|
|
56
|
-
switch (_context.prev = _context.next) {
|
|
57
|
-
case 0:
|
|
58
|
-
return _context.abrupt("return", ['ctgA', 'ctgB']);
|
|
59
|
-
|
|
60
|
-
case 1:
|
|
61
|
-
case "end":
|
|
62
|
-
return _context.stop();
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}, _callee);
|
|
66
|
-
}));
|
|
67
|
-
|
|
68
|
-
function getRefNames() {
|
|
69
|
-
return _getRefNames.apply(this, arguments);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
return getRefNames;
|
|
73
|
-
}()
|
|
74
|
-
}, {
|
|
75
|
-
key: "getFeatures",
|
|
76
|
-
value: function getFeatures(_region) {
|
|
77
|
-
return (0, _rxjs.ObservableCreate)(function () {
|
|
78
|
-
return Promise.reject(new Error('something blew up'));
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
}, {
|
|
82
|
-
key: "freeResources",
|
|
83
|
-
value: function freeResources() {}
|
|
84
|
-
}]);
|
|
85
|
-
return Adapter;
|
|
86
|
-
}(_BaseAdapter.BaseFeatureDataAdapter);
|
|
87
|
-
|
|
88
|
-
adapter = new Adapter((0, _configurationSchema.ConfigurationSchema)('empty', {}).create());
|
|
89
|
-
features = adapter.getFeatures({
|
|
90
|
-
assemblyName: 'volvox',
|
|
91
|
-
refName: 'ctgA',
|
|
92
|
-
start: 0,
|
|
93
|
-
end: 20000
|
|
94
|
-
});
|
|
95
|
-
featuresArray = features.pipe((0, _operators.toArray)()).toPromise();
|
|
96
|
-
expect(featuresArray).rejects.toThrow(/something blew up/);
|
|
97
|
-
|
|
98
|
-
case 5:
|
|
99
|
-
case "end":
|
|
100
|
-
return _context2.stop();
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}, _callee2);
|
|
104
|
-
})));
|
|
105
|
-
it('retrieves features', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
|
106
|
-
var Adapter, adapter, features, featuresArray, features2, featuresArray2;
|
|
107
|
-
return _regenerator.default.wrap(function _callee4$(_context4) {
|
|
108
|
-
while (1) {
|
|
109
|
-
switch (_context4.prev = _context4.next) {
|
|
110
|
-
case 0:
|
|
111
|
-
Adapter = /*#__PURE__*/function (_BaseFeatureDataAdapt2) {
|
|
112
|
-
(0, _inherits2.default)(Adapter, _BaseFeatureDataAdapt2);
|
|
113
|
-
|
|
114
|
-
var _super2 = _createSuper(Adapter);
|
|
115
|
-
|
|
116
|
-
function Adapter() {
|
|
117
|
-
(0, _classCallCheck2.default)(this, Adapter);
|
|
118
|
-
return _super2.apply(this, arguments);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
(0, _createClass2.default)(Adapter, [{
|
|
122
|
-
key: "getRefNames",
|
|
123
|
-
value: function () {
|
|
124
|
-
var _getRefNames2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
|
125
|
-
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
126
|
-
while (1) {
|
|
127
|
-
switch (_context3.prev = _context3.next) {
|
|
128
|
-
case 0:
|
|
129
|
-
return _context3.abrupt("return", ['ctgA', 'ctgB']);
|
|
130
|
-
|
|
131
|
-
case 1:
|
|
132
|
-
case "end":
|
|
133
|
-
return _context3.stop();
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}, _callee3);
|
|
137
|
-
}));
|
|
138
|
-
|
|
139
|
-
function getRefNames() {
|
|
140
|
-
return _getRefNames2.apply(this, arguments);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
return getRefNames;
|
|
144
|
-
}()
|
|
145
|
-
}, {
|
|
146
|
-
key: "getFeatures",
|
|
147
|
-
value: function getFeatures(region) {
|
|
148
|
-
return (0, _rxjs.ObservableCreate)(function (observer) {
|
|
149
|
-
if (region.refName === 'ctgA') {
|
|
150
|
-
observer.next(new _simpleFeature.default({
|
|
151
|
-
uniqueId: 'testFeature',
|
|
152
|
-
start: 100,
|
|
153
|
-
end: 200
|
|
154
|
-
}));
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
observer.complete();
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
}, {
|
|
161
|
-
key: "freeResources",
|
|
162
|
-
value: function freeResources() {}
|
|
163
|
-
}]);
|
|
164
|
-
return Adapter;
|
|
165
|
-
}(_BaseAdapter.BaseFeatureDataAdapter);
|
|
166
|
-
|
|
167
|
-
adapter = new Adapter((0, _configurationSchema.ConfigurationSchema)('empty', {}).create());
|
|
168
|
-
features = adapter.getFeatures({
|
|
169
|
-
assemblyName: 'volvox',
|
|
170
|
-
refName: 'ctgA',
|
|
171
|
-
start: 0,
|
|
172
|
-
end: 20000
|
|
173
|
-
});
|
|
174
|
-
_context4.next = 5;
|
|
175
|
-
return features.pipe((0, _operators.toArray)()).toPromise();
|
|
176
|
-
|
|
177
|
-
case 5:
|
|
178
|
-
featuresArray = _context4.sent;
|
|
179
|
-
expect(featuresArray).toMatchInlineSnapshot("\n Array [\n Object {\n \"end\": 200,\n \"start\": 100,\n \"uniqueId\": \"testFeature\",\n },\n ]\n ");
|
|
180
|
-
features2 = adapter.getFeatures({
|
|
181
|
-
assemblyName: 'volvox',
|
|
182
|
-
refName: 'ctgC',
|
|
183
|
-
start: 0,
|
|
184
|
-
end: 20000
|
|
185
|
-
});
|
|
186
|
-
_context4.next = 10;
|
|
187
|
-
return features2.pipe((0, _operators.toArray)()).toPromise();
|
|
188
|
-
|
|
189
|
-
case 10:
|
|
190
|
-
featuresArray2 = _context4.sent;
|
|
191
|
-
expect(featuresArray2).toMatchInlineSnapshot('Array []');
|
|
192
|
-
|
|
193
|
-
case 12:
|
|
194
|
-
case "end":
|
|
195
|
-
return _context4.stop();
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}, _callee4);
|
|
199
|
-
})));
|
|
200
|
-
});
|
package/declare.d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.MockRpcMethodType = void 0;
|
|
9
|
-
|
|
10
|
-
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
11
|
-
|
|
12
|
-
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
13
|
-
|
|
14
|
-
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
15
|
-
|
|
16
|
-
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
17
|
-
|
|
18
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
19
|
-
|
|
20
|
-
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
21
|
-
|
|
22
|
-
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
23
|
-
|
|
24
|
-
var _PluginManager = _interopRequireDefault(require("../PluginManager"));
|
|
25
|
-
|
|
26
|
-
var _RpcMethodType2 = _interopRequireDefault(require("./RpcMethodType"));
|
|
27
|
-
|
|
28
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
29
|
-
|
|
30
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
31
|
-
|
|
32
|
-
var pluginManager = new _PluginManager.default();
|
|
33
|
-
|
|
34
|
-
var MockRpcMethodType = /*#__PURE__*/function (_RpcMethodType) {
|
|
35
|
-
(0, _inherits2.default)(MockRpcMethodType, _RpcMethodType);
|
|
36
|
-
|
|
37
|
-
var _super = _createSuper(MockRpcMethodType);
|
|
38
|
-
|
|
39
|
-
function MockRpcMethodType() {
|
|
40
|
-
(0, _classCallCheck2.default)(this, MockRpcMethodType);
|
|
41
|
-
return _super.apply(this, arguments);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
(0, _createClass2.default)(MockRpcMethodType, [{
|
|
45
|
-
key: "execute",
|
|
46
|
-
value: function () {
|
|
47
|
-
var _execute = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
48
|
-
return _regenerator.default.wrap(function _callee$(_context) {
|
|
49
|
-
while (1) {
|
|
50
|
-
switch (_context.prev = _context.next) {
|
|
51
|
-
case 0:
|
|
52
|
-
case "end":
|
|
53
|
-
return _context.stop();
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}, _callee);
|
|
57
|
-
}));
|
|
58
|
-
|
|
59
|
-
function execute() {
|
|
60
|
-
return _execute.apply(this, arguments);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
return execute;
|
|
64
|
-
}()
|
|
65
|
-
}]);
|
|
66
|
-
return MockRpcMethodType;
|
|
67
|
-
}(_RpcMethodType2.default);
|
|
68
|
-
|
|
69
|
-
exports.MockRpcMethodType = MockRpcMethodType;
|
|
70
|
-
test('test serialize arguments with augmentLocationObject', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
71
|
-
var mockRpc, locationInAdapter, deeplyNestedLocation;
|
|
72
|
-
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
73
|
-
while (1) {
|
|
74
|
-
switch (_context2.prev = _context2.next) {
|
|
75
|
-
case 0:
|
|
76
|
-
mockRpc = new MockRpcMethodType(pluginManager);
|
|
77
|
-
mockRpc.serializeNewAuthArguments = jest.fn().mockReturnValue({
|
|
78
|
-
locationType: 'UriLocation',
|
|
79
|
-
uri: 'test',
|
|
80
|
-
internetAccountId: 'HTTPBasicInternetAccount-test'
|
|
81
|
-
});
|
|
82
|
-
locationInAdapter = {
|
|
83
|
-
locationType: 'UriLocation',
|
|
84
|
-
uri: 'test',
|
|
85
|
-
internetAccountId: 'HTTPBasicInternetAccount-test'
|
|
86
|
-
};
|
|
87
|
-
deeplyNestedLocation = {
|
|
88
|
-
locationType: 'UriLocation',
|
|
89
|
-
uri: 'test2',
|
|
90
|
-
internetAccountId: 'HTTPBasicInternetAccount-test2'
|
|
91
|
-
};
|
|
92
|
-
_context2.next = 6;
|
|
93
|
-
return mockRpc.serializeArguments({
|
|
94
|
-
adapter: {
|
|
95
|
-
testLocation: locationInAdapter
|
|
96
|
-
},
|
|
97
|
-
filters: [],
|
|
98
|
-
signal: 'teststring',
|
|
99
|
-
randomProperty: 'randomstring',
|
|
100
|
-
parentObject: {
|
|
101
|
-
nestedObject: {
|
|
102
|
-
arrayInNestedObject: [deeplyNestedLocation]
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}, '');
|
|
106
|
-
|
|
107
|
-
case 6:
|
|
108
|
-
expect(mockRpc.serializeNewAuthArguments).toHaveBeenCalledTimes(2);
|
|
109
|
-
expect(mockRpc.serializeNewAuthArguments).toHaveBeenCalledWith(locationInAdapter);
|
|
110
|
-
expect(mockRpc.serializeNewAuthArguments).toHaveBeenCalledWith(deeplyNestedLocation);
|
|
111
|
-
|
|
112
|
-
case 9:
|
|
113
|
-
case "end":
|
|
114
|
-
return _context2.stop();
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}, _callee2);
|
|
118
|
-
})));
|