shinkansen-transmission 2.1.15 → 2.2.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/.husky/pre-commit +4 -0
- package/babel.config.js +1 -1
- package/index.js +6 -1
- package/lib/index.js +1 -1
- package/lib/transmission/common/index.js +1 -1
- package/lib/transmission/from-document-to-hash/index.js +1 -1
- package/lib/transmission/from-hash-to-document/index.js +1 -1
- package/lib/transmission/index.js +1 -1
- package/lib/transmission/to-zashiki/index.js +1 -1
- package/lib/transmission/to-zashiki/transform-root-schema.js +1 -1
- package/lib/transmission/to-zashiki/transform-schema.js +1 -1
- package/package.json +23 -30
- package/src/transmission/from-document-to-hash/index.js +75 -29
- package/src/transmission/from-hash-to-document/index.js +13 -10
- package/src/transmission/to-zashiki/transform-root-schema.js +143 -136
- package/src/transmission/to-zashiki/transform-schema.js +3256 -1952
- package/.github/dependabot.yml +0 -9
- package/test/transmission/common/index.spec.js +0 -1348
- package/test/transmission/from-document-to-hash/index.spec.js +0 -1866
- package/test/transmission/from-hash-to-document/index.spec.js +0 -1523
- package/test/transmission/to-zashiki/transform-root-schema/transforming-array-type-schemas.spec.js +0 -1784
- package/test/transmission/to-zashiki/transform-root-schema/transforming-boolean-type-schemas.spec.js +0 -334
- package/test/transmission/to-zashiki/transform-root-schema/transforming-null-type-schemas.spec.js +0 -253
- package/test/transmission/to-zashiki/transform-root-schema/transforming-number-type-schemas.spec.js +0 -565
- package/test/transmission/to-zashiki/transform-root-schema/transforming-object-type-schemas.spec.js +0 -1715
- package/test/transmission/to-zashiki/transform-root-schema/transforming-string-type-schemas.spec.js +0 -496
- package/test/transmission/to-zashiki/transform-root-schema/with-values/with-params/transforming-array-type-schemas.spec.js +0 -31633
- package/test/transmission/to-zashiki/transform-root-schema/with-values/with-params/transforming-boolean-type-schemas.spec.js +0 -359
- package/test/transmission/to-zashiki/transform-root-schema/with-values/with-params/transforming-null-type-schemas.spec.js +0 -359
- package/test/transmission/to-zashiki/transform-root-schema/with-values/with-params/transforming-number-type-schemas.spec.js +0 -446
- package/test/transmission/to-zashiki/transform-root-schema/with-values/with-params/transforming-object-type-schemas.spec.js +0 -8348
- package/test/transmission/to-zashiki/transform-root-schema/with-values/with-params/transforming-string-type-schemas.spec.js +0 -446
- package/test/transmission/to-zashiki/transform-root-schema/with-values/without-params/transforming-array-type-schemas.spec.js +0 -30373
- package/test/transmission/to-zashiki/transform-root-schema/with-values/without-params/transforming-boolean-type-schemas.spec.js +0 -334
- package/test/transmission/to-zashiki/transform-root-schema/with-values/without-params/transforming-null-type-schemas.spec.js +0 -253
- package/test/transmission/to-zashiki/transform-root-schema/with-values/without-params/transforming-number-type-schemas.spec.js +0 -421
- package/test/transmission/to-zashiki/transform-root-schema/with-values/without-params/transforming-object-type-schemas.spec.js +0 -7826
- package/test/transmission/to-zashiki/transform-root-schema/with-values/without-params/transforming-string-type-schemas.spec.js +0 -421
- package/test/transmission/to-zashiki/transform-root-schema/without-values/with-params/transforming-array-type-schemas.spec.js +0 -31111
- package/test/transmission/to-zashiki/transform-root-schema/without-values/with-params/transforming-boolean-type-schemas.spec.js +0 -347
- package/test/transmission/to-zashiki/transform-root-schema/without-values/with-params/transforming-null-type-schemas.spec.js +0 -344
- package/test/transmission/to-zashiki/transform-root-schema/without-values/with-params/transforming-number-type-schemas.spec.js +0 -434
- package/test/transmission/to-zashiki/transform-root-schema/without-values/with-params/transforming-object-type-schemas.spec.js +0 -8222
- package/test/transmission/to-zashiki/transform-root-schema/without-values/with-params/transforming-string-type-schemas.spec.js +0 -434
- package/test/transmission/to-zashiki/transform-root-schema/without-values/without-params/transforming-array-type-schemas.spec.js +0 -29494
- package/test/transmission/to-zashiki/transform-root-schema/without-values/without-params/transforming-boolean-type-schemas.spec.js +0 -312
- package/test/transmission/to-zashiki/transform-root-schema/without-values/without-params/transforming-null-type-schemas.spec.js +0 -309
- package/test/transmission/to-zashiki/transform-root-schema/without-values/without-params/transforming-number-type-schemas.spec.js +0 -399
- package/test/transmission/to-zashiki/transform-root-schema/without-values/without-params/transforming-object-type-schemas.spec.js +0 -7584
- package/test/transmission/to-zashiki/transform-root-schema/without-values/without-params/transforming-string-type-schemas.spec.js +0 -398
- package/test/transmission/to-zashiki/transform-root-schema.spec.js +0 -22
- package/test/transmission/to-zashiki/transform-schema/transforming-array-type-schemas.spec.js +0 -1806
- package/test/transmission/to-zashiki/transform-schema/transforming-boolean-type-schemas.spec.js +0 -340
- package/test/transmission/to-zashiki/transform-schema/transforming-null-type-schemas.spec.js +0 -259
- package/test/transmission/to-zashiki/transform-schema/transforming-number-type-schemas.spec.js +0 -571
- package/test/transmission/to-zashiki/transform-schema/transforming-object-type-schemas.spec.js +0 -1737
- package/test/transmission/to-zashiki/transform-schema/transforming-string-type-schemas.spec.js +0 -502
- package/test/transmission/to-zashiki/transform-schema/with-values/with-params/transforming-array-type-schemas.spec.js +0 -32173
- package/test/transmission/to-zashiki/transform-schema/with-values/with-params/transforming-boolean-type-schemas.spec.js +0 -377
- package/test/transmission/to-zashiki/transform-schema/with-values/with-params/transforming-null-type-schemas.spec.js +0 -377
- package/test/transmission/to-zashiki/transform-schema/with-values/with-params/transforming-number-type-schemas.spec.js +0 -464
- package/test/transmission/to-zashiki/transform-schema/with-values/with-params/transforming-object-type-schemas.spec.js +0 -8525
- package/test/transmission/to-zashiki/transform-schema/with-values/with-params/transforming-string-type-schemas.spec.js +0 -464
- package/test/transmission/to-zashiki/transform-schema/with-values/without-params/transforming-array-type-schemas.spec.js +0 -30910
- package/test/transmission/to-zashiki/transform-schema/with-values/without-params/transforming-boolean-type-schemas.spec.js +0 -352
- package/test/transmission/to-zashiki/transform-schema/with-values/without-params/transforming-null-type-schemas.spec.js +0 -271
- package/test/transmission/to-zashiki/transform-schema/with-values/without-params/transforming-number-type-schemas.spec.js +0 -439
- package/test/transmission/to-zashiki/transform-schema/with-values/without-params/transforming-object-type-schemas.spec.js +0 -8003
- package/test/transmission/to-zashiki/transform-schema/with-values/without-params/transforming-string-type-schemas.spec.js +0 -439
- package/test/transmission/to-zashiki/transform-schema/without-values/with-params/transforming-array-type-schemas.spec.js +0 -31654
- package/test/transmission/to-zashiki/transform-schema/without-values/with-params/transforming-boolean-type-schemas.spec.js +0 -365
- package/test/transmission/to-zashiki/transform-schema/without-values/with-params/transforming-null-type-schemas.spec.js +0 -362
- package/test/transmission/to-zashiki/transform-schema/without-values/with-params/transforming-number-type-schemas.spec.js +0 -452
- package/test/transmission/to-zashiki/transform-schema/without-values/with-params/transforming-object-type-schemas.spec.js +0 -8399
- package/test/transmission/to-zashiki/transform-schema/without-values/with-params/transforming-string-type-schemas.spec.js +0 -452
- package/test/transmission/to-zashiki/transform-schema/without-values/without-params/transforming-array-type-schemas.spec.js +0 -29671
- package/test/transmission/to-zashiki/transform-schema/without-values/without-params/transforming-boolean-type-schemas.spec.js +0 -320
- package/test/transmission/to-zashiki/transform-schema/without-values/without-params/transforming-null-type-schemas.spec.js +0 -317
- package/test/transmission/to-zashiki/transform-schema/without-values/without-params/transforming-number-type-schemas.spec.js +0 -407
- package/test/transmission/to-zashiki/transform-schema/without-values/without-params/transforming-object-type-schemas.spec.js +0 -7645
- package/test/transmission/to-zashiki/transform-schema/without-values/without-params/transforming-string-type-schemas.spec.js +0 -406
- package/test/transmission/to-zashiki/transform-schema.spec.js +0 -777
@@ -1,777 +0,0 @@
|
|
1
|
-
import debug from 'debug'
|
2
|
-
|
3
|
-
import { expect } from 'chai'
|
4
|
-
|
5
|
-
import transform, {
|
6
|
-
transformNullByKeyForEnum,
|
7
|
-
transformNullByKeyForAnyOf,
|
8
|
-
transformNullByKeyForOneOf,
|
9
|
-
transformNullByKeyForAllOf,
|
10
|
-
transformNullByKey,
|
11
|
-
|
12
|
-
transformBooleanByKeyForEnum,
|
13
|
-
transformBooleanByKeyForAnyOf,
|
14
|
-
transformBooleanByKeyForOneOf,
|
15
|
-
transformBooleanByKeyForAllOf,
|
16
|
-
transformBooleanByKey,
|
17
|
-
|
18
|
-
transformObjectByKeyForEnum,
|
19
|
-
transformObjectByKeyForAnyOf,
|
20
|
-
transformObjectByKeyForOneOf,
|
21
|
-
transformObjectByKeyForAllOf,
|
22
|
-
transformObjectByKey,
|
23
|
-
|
24
|
-
transformArrayByKeyForEnum,
|
25
|
-
transformArrayByKeyForAnyOf,
|
26
|
-
transformArrayByKeyForOneOf,
|
27
|
-
transformArrayByKeyForAllOf,
|
28
|
-
transformArrayByKey,
|
29
|
-
|
30
|
-
transformNumberByKeyForEnum,
|
31
|
-
transformNumberByKeyForAnyOf,
|
32
|
-
transformNumberByKeyForOneOf,
|
33
|
-
transformNumberByKeyForAllOf,
|
34
|
-
transformNumberByKey,
|
35
|
-
|
36
|
-
transformStringByKeyForEnum,
|
37
|
-
transformStringByKeyForAnyOf,
|
38
|
-
transformStringByKeyForOneOf,
|
39
|
-
transformStringByKeyForAllOf,
|
40
|
-
transformStringByKey,
|
41
|
-
|
42
|
-
transformNullByIndexForEnum,
|
43
|
-
transformNullByIndexForAnyOf,
|
44
|
-
transformNullByIndexForOneOf,
|
45
|
-
transformNullByIndexForAllOf,
|
46
|
-
transformNullByIndex,
|
47
|
-
|
48
|
-
transformBooleanByIndexForEnum,
|
49
|
-
transformBooleanByIndexForAnyOf,
|
50
|
-
transformBooleanByIndexForOneOf,
|
51
|
-
transformBooleanByIndexForAllOf,
|
52
|
-
transformBooleanByIndex,
|
53
|
-
|
54
|
-
transformObjectByIndexForEnum,
|
55
|
-
transformObjectByIndexForAnyOf,
|
56
|
-
transformObjectByIndexForOneOf,
|
57
|
-
transformObjectByIndexForAllOf,
|
58
|
-
transformObjectByIndex,
|
59
|
-
|
60
|
-
transformArrayByIndexForEnum,
|
61
|
-
transformArrayByIndexForAnyOf,
|
62
|
-
transformArrayByIndexForOneOf,
|
63
|
-
transformArrayByIndexForAllOf,
|
64
|
-
transformArrayByIndex,
|
65
|
-
|
66
|
-
transformNumberByIndexForEnum,
|
67
|
-
transformNumberByIndexForAnyOf,
|
68
|
-
transformNumberByIndexForOneOf,
|
69
|
-
transformNumberByIndexForAllOf,
|
70
|
-
transformNumberByIndex,
|
71
|
-
|
72
|
-
transformStringByIndexForEnum,
|
73
|
-
transformStringByIndexForAnyOf,
|
74
|
-
transformStringByIndexForOneOf,
|
75
|
-
transformStringByIndexForAllOf,
|
76
|
-
transformStringByIndex,
|
77
|
-
|
78
|
-
transformNullForEnum,
|
79
|
-
transformNullForAnyOf,
|
80
|
-
transformNullForOneOf,
|
81
|
-
transformNullForAllOf,
|
82
|
-
transformNull,
|
83
|
-
|
84
|
-
transformBooleanForEnum,
|
85
|
-
transformBooleanForAnyOf,
|
86
|
-
transformBooleanForOneOf,
|
87
|
-
transformBooleanForAllOf,
|
88
|
-
transformBoolean,
|
89
|
-
|
90
|
-
transformObjectForEnum,
|
91
|
-
transformObjectForAnyOf,
|
92
|
-
transformObjectForOneOf,
|
93
|
-
transformObjectForAllOf,
|
94
|
-
transformObject,
|
95
|
-
|
96
|
-
transformArrayForEnum,
|
97
|
-
transformArrayForAnyOf,
|
98
|
-
transformArrayForOneOf,
|
99
|
-
transformArrayForAllOf,
|
100
|
-
transformArray,
|
101
|
-
|
102
|
-
transformNumberForEnum,
|
103
|
-
transformNumberForAnyOf,
|
104
|
-
transformNumberForOneOf,
|
105
|
-
transformNumberForAllOf,
|
106
|
-
transformNumber,
|
107
|
-
|
108
|
-
transformStringForEnum,
|
109
|
-
transformStringForAnyOf,
|
110
|
-
transformStringForOneOf,
|
111
|
-
transformStringForAllOf,
|
112
|
-
transformString,
|
113
|
-
|
114
|
-
transformByKey,
|
115
|
-
transformByIndex
|
116
|
-
} from 'shinkansen-transmission/transmission/to-zashiki/transform-schema'
|
117
|
-
|
118
|
-
describe('shinkansen-transmission/transmission/to-zashiki', () => {
|
119
|
-
before(() => {
|
120
|
-
const {
|
121
|
-
env: {
|
122
|
-
DEBUG
|
123
|
-
}
|
124
|
-
} = process
|
125
|
-
|
126
|
-
if (DEBUG) debug.enable(DEBUG)
|
127
|
-
})
|
128
|
-
|
129
|
-
it('is a function', () => {
|
130
|
-
expect(transform)
|
131
|
-
.to.be.a('function')
|
132
|
-
})
|
133
|
-
|
134
|
-
describe('`transformNullByKeyForEnum`', () => {
|
135
|
-
it('is a function', () => {
|
136
|
-
expect(transformNullByKeyForEnum)
|
137
|
-
.to.be.a('function')
|
138
|
-
})
|
139
|
-
})
|
140
|
-
|
141
|
-
describe('`transformNullByKeyForAnyOf`', () => {
|
142
|
-
it('is a function', () => {
|
143
|
-
expect(transformNullByKeyForAnyOf)
|
144
|
-
.to.be.a('function')
|
145
|
-
})
|
146
|
-
})
|
147
|
-
|
148
|
-
describe('`transformNullByKeyForOneOf`', () => {
|
149
|
-
it('is a function', () => {
|
150
|
-
expect(transformNullByKeyForOneOf)
|
151
|
-
.to.be.a('function')
|
152
|
-
})
|
153
|
-
})
|
154
|
-
|
155
|
-
describe('`transformNullByKeyForAllOf`', () => {
|
156
|
-
it('is a function', () => {
|
157
|
-
expect(transformNullByKeyForAllOf)
|
158
|
-
.to.be.a('function')
|
159
|
-
})
|
160
|
-
})
|
161
|
-
|
162
|
-
describe('`transformNullByKey`', () => {
|
163
|
-
it('is a function', () => {
|
164
|
-
expect(transformNullByKey)
|
165
|
-
.to.be.a('function')
|
166
|
-
})
|
167
|
-
})
|
168
|
-
|
169
|
-
describe('`transformBooleanByKeyForEnum`', () => {
|
170
|
-
it('is a function', () => {
|
171
|
-
expect(transformBooleanByKeyForEnum)
|
172
|
-
.to.be.a('function')
|
173
|
-
})
|
174
|
-
})
|
175
|
-
|
176
|
-
describe('`transformBooleanByKeyForAnyOf`', () => {
|
177
|
-
it('is a function', () => {
|
178
|
-
expect(transformBooleanByKeyForAnyOf)
|
179
|
-
.to.be.a('function')
|
180
|
-
})
|
181
|
-
})
|
182
|
-
|
183
|
-
describe('`transformBooleanByKeyForOneOf`', () => {
|
184
|
-
it('is a function', () => {
|
185
|
-
expect(transformBooleanByKeyForOneOf)
|
186
|
-
.to.be.a('function')
|
187
|
-
})
|
188
|
-
})
|
189
|
-
|
190
|
-
describe('`transformBooleanByKeyForAllOf`', () => {
|
191
|
-
it('is a function', () => {
|
192
|
-
expect(transformBooleanByKeyForAllOf)
|
193
|
-
.to.be.a('function')
|
194
|
-
})
|
195
|
-
})
|
196
|
-
|
197
|
-
describe('`transformBooleanByKey`', () => {
|
198
|
-
it('is a function', () => {
|
199
|
-
expect(transformBooleanByKey)
|
200
|
-
.to.be.a('function')
|
201
|
-
})
|
202
|
-
})
|
203
|
-
|
204
|
-
describe('`transformObjectByKeyForEnum`', () => {
|
205
|
-
it('is a function', () => {
|
206
|
-
expect(transformObjectByKeyForEnum)
|
207
|
-
.to.be.a('function')
|
208
|
-
})
|
209
|
-
})
|
210
|
-
|
211
|
-
describe('`transformObjectByKeyForAnyOf`', () => {
|
212
|
-
it('is a function', () => {
|
213
|
-
expect(transformObjectByKeyForAnyOf)
|
214
|
-
.to.be.a('function')
|
215
|
-
})
|
216
|
-
})
|
217
|
-
|
218
|
-
describe('`transformObjectByKeyForOneOf`', () => {
|
219
|
-
it('is a function', () => {
|
220
|
-
expect(transformObjectByKeyForOneOf)
|
221
|
-
.to.be.a('function')
|
222
|
-
})
|
223
|
-
})
|
224
|
-
|
225
|
-
describe('`transformObjectByKeyForAllOf`', () => {
|
226
|
-
it('is a function', () => {
|
227
|
-
expect(transformObjectByKeyForAllOf)
|
228
|
-
.to.be.a('function')
|
229
|
-
})
|
230
|
-
})
|
231
|
-
|
232
|
-
describe('`transformObjectByKey`', () => {
|
233
|
-
it('is a function', () => {
|
234
|
-
expect(transformObjectByKey)
|
235
|
-
.to.be.a('function')
|
236
|
-
})
|
237
|
-
})
|
238
|
-
|
239
|
-
describe('`transformArrayByKeyForEnum`', () => {
|
240
|
-
it('is a function', () => {
|
241
|
-
expect(transformArrayByKeyForEnum)
|
242
|
-
.to.be.a('function')
|
243
|
-
})
|
244
|
-
})
|
245
|
-
|
246
|
-
describe('`transformArrayByKeyForAnyOf`', () => {
|
247
|
-
it('is a function', () => {
|
248
|
-
expect(transformArrayByKeyForAnyOf)
|
249
|
-
.to.be.a('function')
|
250
|
-
})
|
251
|
-
})
|
252
|
-
|
253
|
-
describe('`transformArrayByKeyForOneOf`', () => {
|
254
|
-
it('is a function', () => {
|
255
|
-
expect(transformArrayByKeyForOneOf)
|
256
|
-
.to.be.a('function')
|
257
|
-
})
|
258
|
-
})
|
259
|
-
|
260
|
-
describe('`transformArrayByKeyForAllOf`', () => {
|
261
|
-
it('is a function', () => {
|
262
|
-
expect(transformArrayByKeyForAllOf)
|
263
|
-
.to.be.a('function')
|
264
|
-
})
|
265
|
-
})
|
266
|
-
|
267
|
-
describe('`transformArrayByKey`', () => {
|
268
|
-
it('is a function', () => {
|
269
|
-
expect(transformArrayByKey)
|
270
|
-
.to.be.a('function')
|
271
|
-
})
|
272
|
-
})
|
273
|
-
|
274
|
-
describe('`transformNumberByKeyForEnum`', () => {
|
275
|
-
it('is a function', () => {
|
276
|
-
expect(transformNumberByKeyForEnum)
|
277
|
-
.to.be.a('function')
|
278
|
-
})
|
279
|
-
})
|
280
|
-
|
281
|
-
describe('`transformNumberByKeyForAnyOf`', () => {
|
282
|
-
it('is a function', () => {
|
283
|
-
expect(transformNumberByKeyForAnyOf)
|
284
|
-
.to.be.a('function')
|
285
|
-
})
|
286
|
-
})
|
287
|
-
|
288
|
-
describe('`transformNumberByKeyForOneOf`', () => {
|
289
|
-
it('is a function', () => {
|
290
|
-
expect(transformNumberByKeyForOneOf)
|
291
|
-
.to.be.a('function')
|
292
|
-
})
|
293
|
-
})
|
294
|
-
|
295
|
-
describe('`transformNumberByKeyForAllOf`', () => {
|
296
|
-
it('is a function', () => {
|
297
|
-
expect(transformNumberByKeyForAllOf)
|
298
|
-
.to.be.a('function')
|
299
|
-
})
|
300
|
-
})
|
301
|
-
|
302
|
-
describe('`transformNumberByKey`', () => {
|
303
|
-
it('is a function', () => {
|
304
|
-
expect(transformNumberByKey)
|
305
|
-
.to.be.a('function')
|
306
|
-
})
|
307
|
-
})
|
308
|
-
|
309
|
-
describe('`transformStringByKeyForEnum`', () => {
|
310
|
-
it('is a function', () => {
|
311
|
-
expect(transformStringByKeyForEnum)
|
312
|
-
.to.be.a('function')
|
313
|
-
})
|
314
|
-
})
|
315
|
-
|
316
|
-
describe('`transformStringByKeyForAnyOf`', () => {
|
317
|
-
it('is a function', () => {
|
318
|
-
expect(transformStringByKeyForAnyOf)
|
319
|
-
.to.be.a('function')
|
320
|
-
})
|
321
|
-
})
|
322
|
-
|
323
|
-
describe('`transformStringByKeyForOneOf`', () => {
|
324
|
-
it('is a function', () => {
|
325
|
-
expect(transformStringByKeyForOneOf)
|
326
|
-
.to.be.a('function')
|
327
|
-
})
|
328
|
-
})
|
329
|
-
|
330
|
-
describe('`transformStringByKeyForAllOf`', () => {
|
331
|
-
it('is a function', () => {
|
332
|
-
expect(transformStringByKeyForAllOf)
|
333
|
-
.to.be.a('function')
|
334
|
-
})
|
335
|
-
})
|
336
|
-
|
337
|
-
describe('`transformStringByKey`', () => {
|
338
|
-
it('is a function', () => {
|
339
|
-
expect(transformStringByKey)
|
340
|
-
.to.be.a('function')
|
341
|
-
})
|
342
|
-
})
|
343
|
-
|
344
|
-
describe('`transformNullByIndexForEnum`', () => {
|
345
|
-
it('is a function', () => {
|
346
|
-
expect(transformNullByIndexForEnum)
|
347
|
-
.to.be.a('function')
|
348
|
-
})
|
349
|
-
})
|
350
|
-
|
351
|
-
describe('`transformNullByIndexForAnyOf`', () => {
|
352
|
-
it('is a function', () => {
|
353
|
-
expect(transformNullByIndexForAnyOf)
|
354
|
-
.to.be.a('function')
|
355
|
-
})
|
356
|
-
})
|
357
|
-
|
358
|
-
describe('`transformNullByIndexForOneOf`', () => {
|
359
|
-
it('is a function', () => {
|
360
|
-
expect(transformNullByIndexForOneOf)
|
361
|
-
.to.be.a('function')
|
362
|
-
})
|
363
|
-
})
|
364
|
-
|
365
|
-
describe('`transformNullByIndexForAllOf`', () => {
|
366
|
-
it('is a function', () => {
|
367
|
-
expect(transformNullByIndexForAllOf)
|
368
|
-
.to.be.a('function')
|
369
|
-
})
|
370
|
-
})
|
371
|
-
|
372
|
-
describe('`transformNullByIndex`', () => {
|
373
|
-
it('is a function', () => {
|
374
|
-
expect(transformNullByIndex)
|
375
|
-
.to.be.a('function')
|
376
|
-
})
|
377
|
-
})
|
378
|
-
|
379
|
-
describe('`transformBooleanByIndexForEnum`', () => {
|
380
|
-
it('is a function', () => {
|
381
|
-
expect(transformBooleanByIndexForEnum)
|
382
|
-
.to.be.a('function')
|
383
|
-
})
|
384
|
-
})
|
385
|
-
|
386
|
-
describe('`transformBooleanByIndexForAnyOf`', () => {
|
387
|
-
it('is a function', () => {
|
388
|
-
expect(transformBooleanByIndexForAnyOf)
|
389
|
-
.to.be.a('function')
|
390
|
-
})
|
391
|
-
})
|
392
|
-
|
393
|
-
describe('`transformBooleanByIndexForOneOf`', () => {
|
394
|
-
it('is a function', () => {
|
395
|
-
expect(transformBooleanByIndexForOneOf)
|
396
|
-
.to.be.a('function')
|
397
|
-
})
|
398
|
-
})
|
399
|
-
|
400
|
-
describe('`transformBooleanByIndexForAllOf`', () => {
|
401
|
-
it('is a function', () => {
|
402
|
-
expect(transformBooleanByIndexForAllOf)
|
403
|
-
.to.be.a('function')
|
404
|
-
})
|
405
|
-
})
|
406
|
-
|
407
|
-
describe('`transformBooleanByIndex`', () => {
|
408
|
-
it('is a function', () => {
|
409
|
-
expect(transformBooleanByIndex)
|
410
|
-
.to.be.a('function')
|
411
|
-
})
|
412
|
-
})
|
413
|
-
|
414
|
-
describe('`transformObjectByIndexForEnum`', () => {
|
415
|
-
it('is a function', () => {
|
416
|
-
expect(transformObjectByIndexForEnum)
|
417
|
-
.to.be.a('function')
|
418
|
-
})
|
419
|
-
})
|
420
|
-
|
421
|
-
describe('`transformObjectByIndexForAnyOf`', () => {
|
422
|
-
it('is a function', () => {
|
423
|
-
expect(transformObjectByIndexForAnyOf)
|
424
|
-
.to.be.a('function')
|
425
|
-
})
|
426
|
-
})
|
427
|
-
|
428
|
-
describe('`transformObjectByIndexForOneOf`', () => {
|
429
|
-
it('is a function', () => {
|
430
|
-
expect(transformObjectByIndexForOneOf)
|
431
|
-
.to.be.a('function')
|
432
|
-
})
|
433
|
-
})
|
434
|
-
|
435
|
-
describe('`transformObjectByIndexForAllOf`', () => {
|
436
|
-
it('is a function', () => {
|
437
|
-
expect(transformObjectByIndexForAllOf)
|
438
|
-
.to.be.a('function')
|
439
|
-
})
|
440
|
-
})
|
441
|
-
|
442
|
-
describe('`transformObjectByIndex`', () => {
|
443
|
-
it('is a function', () => {
|
444
|
-
expect(transformObjectByIndex)
|
445
|
-
.to.be.a('function')
|
446
|
-
})
|
447
|
-
})
|
448
|
-
|
449
|
-
describe('`transformArrayByIndexForEnum`', () => {
|
450
|
-
it('is a function', () => {
|
451
|
-
expect(transformArrayByIndexForEnum)
|
452
|
-
.to.be.a('function')
|
453
|
-
})
|
454
|
-
})
|
455
|
-
|
456
|
-
describe('`transformArrayByIndexForAnyOf`', () => {
|
457
|
-
it('is a function', () => {
|
458
|
-
expect(transformArrayByIndexForAnyOf)
|
459
|
-
.to.be.a('function')
|
460
|
-
})
|
461
|
-
})
|
462
|
-
|
463
|
-
describe('`transformArrayByIndexForOneOf`', () => {
|
464
|
-
it('is a function', () => {
|
465
|
-
expect(transformArrayByIndexForOneOf)
|
466
|
-
.to.be.a('function')
|
467
|
-
})
|
468
|
-
})
|
469
|
-
|
470
|
-
describe('`transformArrayByIndexForAllOf`', () => {
|
471
|
-
it('is a function', () => {
|
472
|
-
expect(transformArrayByIndexForAllOf)
|
473
|
-
.to.be.a('function')
|
474
|
-
})
|
475
|
-
})
|
476
|
-
|
477
|
-
describe('`transformArrayByIndex`', () => {
|
478
|
-
it('is a function', () => {
|
479
|
-
expect(transformArrayByIndex)
|
480
|
-
.to.be.a('function')
|
481
|
-
})
|
482
|
-
})
|
483
|
-
|
484
|
-
describe('`transformNumberByIndexForEnum`', () => {
|
485
|
-
it('is a function', () => {
|
486
|
-
expect(transformNumberByIndexForEnum)
|
487
|
-
.to.be.a('function')
|
488
|
-
})
|
489
|
-
})
|
490
|
-
|
491
|
-
describe('`transformNumberByIndexForAnyOf`', () => {
|
492
|
-
it('is a function', () => {
|
493
|
-
expect(transformNumberByIndexForAnyOf)
|
494
|
-
.to.be.a('function')
|
495
|
-
})
|
496
|
-
})
|
497
|
-
|
498
|
-
describe('`transformNumberByIndexForOneOf`', () => {
|
499
|
-
it('is a function', () => {
|
500
|
-
expect(transformNumberByIndexForOneOf)
|
501
|
-
.to.be.a('function')
|
502
|
-
})
|
503
|
-
})
|
504
|
-
|
505
|
-
describe('`transformNumberByIndexForAllOf`', () => {
|
506
|
-
it('is a function', () => {
|
507
|
-
expect(transformNumberByIndexForAllOf)
|
508
|
-
.to.be.a('function')
|
509
|
-
})
|
510
|
-
})
|
511
|
-
|
512
|
-
describe('`transformNumberByIndex`', () => {
|
513
|
-
it('is a function', () => {
|
514
|
-
expect(transformNumberByIndex)
|
515
|
-
.to.be.a('function')
|
516
|
-
})
|
517
|
-
})
|
518
|
-
|
519
|
-
describe('`transformStringByIndexForEnum`', () => {
|
520
|
-
it('is a function', () => {
|
521
|
-
expect(transformStringByIndexForEnum)
|
522
|
-
.to.be.a('function')
|
523
|
-
})
|
524
|
-
})
|
525
|
-
|
526
|
-
describe('`transformStringByIndexForAnyOf`', () => {
|
527
|
-
it('is a function', () => {
|
528
|
-
expect(transformStringByIndexForAnyOf)
|
529
|
-
.to.be.a('function')
|
530
|
-
})
|
531
|
-
})
|
532
|
-
|
533
|
-
describe('`transformStringByIndexForOneOf`', () => {
|
534
|
-
it('is a function', () => {
|
535
|
-
expect(transformStringByIndexForOneOf)
|
536
|
-
.to.be.a('function')
|
537
|
-
})
|
538
|
-
})
|
539
|
-
|
540
|
-
describe('`transformStringByIndexForAllOf`', () => {
|
541
|
-
it('is a function', () => {
|
542
|
-
expect(transformStringByIndexForAllOf)
|
543
|
-
.to.be.a('function')
|
544
|
-
})
|
545
|
-
})
|
546
|
-
|
547
|
-
describe('`transformStringByIndex`', () => {
|
548
|
-
it('is a function', () => {
|
549
|
-
expect(transformStringByIndex)
|
550
|
-
.to.be.a('function')
|
551
|
-
})
|
552
|
-
})
|
553
|
-
|
554
|
-
describe('`transformNullForEnum`', () => {
|
555
|
-
it('is a function', () => {
|
556
|
-
expect(transformNullForEnum)
|
557
|
-
.to.be.a('function')
|
558
|
-
})
|
559
|
-
})
|
560
|
-
|
561
|
-
describe('`transformNullForAnyOf`', () => {
|
562
|
-
it('is a function', () => {
|
563
|
-
expect(transformNullForAnyOf)
|
564
|
-
.to.be.a('function')
|
565
|
-
})
|
566
|
-
})
|
567
|
-
|
568
|
-
describe('`transformNullForOneOf`', () => {
|
569
|
-
it('is a function', () => {
|
570
|
-
expect(transformNullForOneOf)
|
571
|
-
.to.be.a('function')
|
572
|
-
})
|
573
|
-
})
|
574
|
-
|
575
|
-
describe('`transformNullForAllOf`', () => {
|
576
|
-
it('is a function', () => {
|
577
|
-
expect(transformNullForAllOf)
|
578
|
-
.to.be.a('function')
|
579
|
-
})
|
580
|
-
})
|
581
|
-
|
582
|
-
describe('`transformNull`', () => {
|
583
|
-
it('is a function', () => {
|
584
|
-
expect(transformNull)
|
585
|
-
.to.be.a('function')
|
586
|
-
})
|
587
|
-
})
|
588
|
-
|
589
|
-
describe('`transformBooleanForEnum`', () => {
|
590
|
-
it('is a function', () => {
|
591
|
-
expect(transformBooleanForEnum)
|
592
|
-
.to.be.a('function')
|
593
|
-
})
|
594
|
-
})
|
595
|
-
|
596
|
-
describe('`transformBooleanForAnyOf`', () => {
|
597
|
-
it('is a function', () => {
|
598
|
-
expect(transformBooleanForAnyOf)
|
599
|
-
.to.be.a('function')
|
600
|
-
})
|
601
|
-
})
|
602
|
-
|
603
|
-
describe('`transformBooleanForOneOf`', () => {
|
604
|
-
it('is a function', () => {
|
605
|
-
expect(transformBooleanForOneOf)
|
606
|
-
.to.be.a('function')
|
607
|
-
})
|
608
|
-
})
|
609
|
-
|
610
|
-
describe('`transformBooleanForAllOf`', () => {
|
611
|
-
it('is a function', () => {
|
612
|
-
expect(transformBooleanForAllOf)
|
613
|
-
.to.be.a('function')
|
614
|
-
})
|
615
|
-
})
|
616
|
-
|
617
|
-
describe('`transformBoolean`', () => {
|
618
|
-
it('is a function', () => {
|
619
|
-
expect(transformBoolean)
|
620
|
-
.to.be.a('function')
|
621
|
-
})
|
622
|
-
})
|
623
|
-
|
624
|
-
describe('`transformObjectForEnum`', () => {
|
625
|
-
it('is a function', () => {
|
626
|
-
expect(transformObjectForEnum)
|
627
|
-
.to.be.a('function')
|
628
|
-
})
|
629
|
-
})
|
630
|
-
|
631
|
-
describe('`transformObjectForAnyOf`', () => {
|
632
|
-
it('is a function', () => {
|
633
|
-
expect(transformObjectForAnyOf)
|
634
|
-
.to.be.a('function')
|
635
|
-
})
|
636
|
-
})
|
637
|
-
|
638
|
-
describe('`transformObjectForOneOf`', () => {
|
639
|
-
it('is a function', () => {
|
640
|
-
expect(transformObjectForOneOf)
|
641
|
-
.to.be.a('function')
|
642
|
-
})
|
643
|
-
})
|
644
|
-
|
645
|
-
describe('`transformObjectForAllOf`', () => {
|
646
|
-
it('is a function', () => {
|
647
|
-
expect(transformObjectForAllOf)
|
648
|
-
.to.be.a('function')
|
649
|
-
})
|
650
|
-
})
|
651
|
-
|
652
|
-
describe('`transformObject`', () => {
|
653
|
-
it('is a function', () => {
|
654
|
-
expect(transformObject)
|
655
|
-
.to.be.a('function')
|
656
|
-
})
|
657
|
-
})
|
658
|
-
|
659
|
-
describe('`transformArrayForEnum`', () => {
|
660
|
-
it('is a function', () => {
|
661
|
-
expect(transformArrayForEnum)
|
662
|
-
.to.be.a('function')
|
663
|
-
})
|
664
|
-
})
|
665
|
-
|
666
|
-
describe('`transformArrayForAnyOf`', () => {
|
667
|
-
it('is a function', () => {
|
668
|
-
expect(transformArrayForAnyOf)
|
669
|
-
.to.be.a('function')
|
670
|
-
})
|
671
|
-
})
|
672
|
-
|
673
|
-
describe('`transformArrayForOneOf`', () => {
|
674
|
-
it('is a function', () => {
|
675
|
-
expect(transformArrayForOneOf)
|
676
|
-
.to.be.a('function')
|
677
|
-
})
|
678
|
-
})
|
679
|
-
|
680
|
-
describe('`transformArrayForAllOf`', () => {
|
681
|
-
it('is a function', () => {
|
682
|
-
expect(transformArrayForAllOf)
|
683
|
-
.to.be.a('function')
|
684
|
-
})
|
685
|
-
})
|
686
|
-
|
687
|
-
describe('`transformArray`', () => {
|
688
|
-
it('is a function', () => {
|
689
|
-
expect(transformArray)
|
690
|
-
.to.be.a('function')
|
691
|
-
})
|
692
|
-
})
|
693
|
-
|
694
|
-
describe('`transformNumberForEnum`', () => {
|
695
|
-
it('is a function', () => {
|
696
|
-
expect(transformNumberForEnum)
|
697
|
-
.to.be.a('function')
|
698
|
-
})
|
699
|
-
})
|
700
|
-
|
701
|
-
describe('`transformNumberForAnyOf`', () => {
|
702
|
-
it('is a function', () => {
|
703
|
-
expect(transformNumberForAnyOf)
|
704
|
-
.to.be.a('function')
|
705
|
-
})
|
706
|
-
})
|
707
|
-
|
708
|
-
describe('`transformNumberForOneOf`', () => {
|
709
|
-
it('is a function', () => {
|
710
|
-
expect(transformNumberForOneOf)
|
711
|
-
.to.be.a('function')
|
712
|
-
})
|
713
|
-
})
|
714
|
-
|
715
|
-
describe('`transformNumberForAllOf`', () => {
|
716
|
-
it('is a function', () => {
|
717
|
-
expect(transformNumberForAllOf)
|
718
|
-
.to.be.a('function')
|
719
|
-
})
|
720
|
-
})
|
721
|
-
|
722
|
-
describe('`transformNumber`', () => {
|
723
|
-
it('is a function', () => {
|
724
|
-
expect(transformNumber)
|
725
|
-
.to.be.a('function')
|
726
|
-
})
|
727
|
-
})
|
728
|
-
|
729
|
-
describe('`transformStringForEnum`', () => {
|
730
|
-
it('is a function', () => {
|
731
|
-
expect(transformStringForEnum)
|
732
|
-
.to.be.a('function')
|
733
|
-
})
|
734
|
-
})
|
735
|
-
|
736
|
-
describe('`transformStringForAnyOf`', () => {
|
737
|
-
it('is a function', () => {
|
738
|
-
expect(transformStringForAnyOf)
|
739
|
-
.to.be.a('function')
|
740
|
-
})
|
741
|
-
})
|
742
|
-
|
743
|
-
describe('`transformStringForOneOf`', () => {
|
744
|
-
it('is a function', () => {
|
745
|
-
expect(transformStringForOneOf)
|
746
|
-
.to.be.a('function')
|
747
|
-
})
|
748
|
-
})
|
749
|
-
|
750
|
-
describe('`transformStringForAllOf`', () => {
|
751
|
-
it('is a function', () => {
|
752
|
-
expect(transformStringForAllOf)
|
753
|
-
.to.be.a('function')
|
754
|
-
})
|
755
|
-
})
|
756
|
-
|
757
|
-
describe('`transformString`', () => {
|
758
|
-
it('is a function', () => {
|
759
|
-
expect(transformString)
|
760
|
-
.to.be.a('function')
|
761
|
-
})
|
762
|
-
})
|
763
|
-
|
764
|
-
describe('`transformByIndex`', () => {
|
765
|
-
it('is a function', () => {
|
766
|
-
expect(transformByIndex)
|
767
|
-
.to.be.a('function')
|
768
|
-
})
|
769
|
-
})
|
770
|
-
|
771
|
-
describe('`transformByKey`', () => {
|
772
|
-
it('is a function', () => {
|
773
|
-
expect(transformByKey)
|
774
|
-
.to.be.a('function')
|
775
|
-
})
|
776
|
-
})
|
777
|
-
})
|