Projektstart
This commit is contained in:
56
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/csp.test.js.tap
generated
vendored
Normal file
56
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/csp.test.js.tap
generated
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
TAP version 14
|
||||
# Subtest: staticCSP = undefined
|
||||
1..3
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 1 - staticCSP = undefined # time=90.632ms
|
||||
|
||||
# Subtest: staticCSP = true
|
||||
1..5
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 2 - staticCSP = true # time=33.606ms
|
||||
|
||||
# Subtest: staticCSP = "default-src 'self';"
|
||||
1..5
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 3 - staticCSP = "default-src 'self';" # time=15.535ms
|
||||
|
||||
# Subtest: staticCSP = object
|
||||
1..5
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 4 - staticCSP = object # time=14.795ms
|
||||
|
||||
# Subtest: transformStaticCSP = function
|
||||
1..6
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 6 - should be equal
|
||||
ok 5 - transformStaticCSP = function # time=29.716ms
|
||||
|
||||
# Subtest: transformStaticCSP = function, with @fastify/helmet
|
||||
1..6
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 6 - should be equal
|
||||
ok 6 - transformStaticCSP = function, with @fastify/helmet # time=26.038ms
|
||||
|
||||
1..6
|
||||
9
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/decorator.test.js.tap
generated
vendored
Normal file
9
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/decorator.test.js.tap
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
TAP version 14
|
||||
# Subtest: fastify.swaggerCSP should exist
|
||||
1..3
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 1 - fastify.swaggerCSP should exist # time=40.558ms
|
||||
|
||||
1..1
|
||||
31
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/hooks.test.js.tap
generated
vendored
Normal file
31
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/hooks.test.js.tap
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
TAP version 14
|
||||
# Subtest: hooks on static swagger
|
||||
ok 1 - root auth required
|
||||
ok 2 - auth required yaml
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - valid swagger yaml
|
||||
ok 6 - auth required json
|
||||
ok 7 - should be equal
|
||||
ok 8 - should be equal
|
||||
ok 9 - valid swagger json
|
||||
1..9
|
||||
ok 1 - hooks on static swagger # time=60.329ms
|
||||
|
||||
# Subtest: hooks on dynamic swagger
|
||||
ok 1 - root auth required
|
||||
ok 2 - auth required yaml
|
||||
ok 3 - auth required json
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 6 - should be equal
|
||||
ok 7 - should be equal
|
||||
1..7
|
||||
ok 2 - hooks on dynamic swagger # time=59.917ms
|
||||
|
||||
# Subtest: catch all added schema
|
||||
ok 1 - should be equivalent
|
||||
1..1
|
||||
ok 3 - catch all added schema # time=11.085ms
|
||||
|
||||
1..3
|
||||
7
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/integration.test.js.tap
generated
vendored
Normal file
7
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/integration.test.js.tap
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
TAP version 14
|
||||
# Subtest: fastify will response swagger csp
|
||||
1..1
|
||||
ok 1 - should be equivalent
|
||||
ok 1 - fastify will response swagger csp # time=43.138ms
|
||||
|
||||
1..1
|
||||
14
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/prepare.test.js.tap
generated
vendored
Normal file
14
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/prepare.test.js.tap
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
TAP version 14
|
||||
# Subtest: Swagger source does not contain sourceMaps
|
||||
1..2
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 1 - Swagger source does not contain sourceMaps # time=45.21ms
|
||||
|
||||
# Subtest: Swagger css does not contain sourceMaps
|
||||
1..2
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 2 - Swagger css does not contain sourceMaps # time=15.248ms
|
||||
|
||||
1..2
|
||||
195
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/route.test.js.tap
generated
vendored
Normal file
195
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/route.test.js.tap
generated
vendored
Normal file
@@ -0,0 +1,195 @@
|
||||
TAP version 14
|
||||
# Subtest: /documentation/json route
|
||||
1..1
|
||||
ok 1 - valid swagger object
|
||||
ok 1 - /documentation/json route # time=178.524ms
|
||||
|
||||
# Subtest: fastify.swagger should return a valid swagger yaml
|
||||
1..3
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - valid swagger yaml
|
||||
ok 2 - fastify.swagger should return a valid swagger yaml # time=31.013ms
|
||||
|
||||
# Subtest: /documentation should display index html
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 3 - /documentation should display index html # time=16.28ms
|
||||
|
||||
# Subtest: /documentation/ should display index html
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 4 - /documentation/ should display index html # time=15.3ms
|
||||
|
||||
# Subtest: /v1/documentation should display index html
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - /v1/documentation should display index html # time=10.44ms
|
||||
|
||||
# Subtest: /v1/documentation/ should display index html
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 6 - /v1/documentation/ should display index html # time=14.017ms
|
||||
|
||||
# Subtest: /v1/foobar should display index html
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 7 - /v1/foobar should display index html # time=12.594ms
|
||||
|
||||
# Subtest: /v1/foobar/ should display index html
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 8 - /v1/foobar/ should display index html # time=12.211ms
|
||||
|
||||
# Subtest: with routePrefix: '/' should display index html
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 9 - with routePrefix: '/' should display index html # time=3.777ms
|
||||
|
||||
# Subtest: /documentation/static/:file should send back the correct file
|
||||
1..21
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 6 - should be equal
|
||||
ok 7 - should be equal
|
||||
ok 8 - should be equal
|
||||
ok 9 - should be equal
|
||||
ok 10 - should be equal
|
||||
ok 11 - should be equal
|
||||
ok 12 - should be equal
|
||||
ok 13 - should be equal
|
||||
ok 14 - should be equal
|
||||
ok 15 - should be equal
|
||||
ok 16 - should be equal
|
||||
ok 17 - should be equal
|
||||
ok 18 - should be equal
|
||||
ok 19 - should be equal
|
||||
ok 20 - should be equal
|
||||
ok 21 - should be equal
|
||||
ok 10 - /documentation/static/:file should send back the correct file # time=25.477ms
|
||||
|
||||
# Subtest: /documentation/static/:file should send back file from baseDir
|
||||
1..2
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 11 - /documentation/static/:file should send back file from baseDir # time=4.155ms
|
||||
|
||||
# Subtest: /documentation/static/:file 404
|
||||
1..2
|
||||
ok 1 - should be equal
|
||||
ok 2 - should match pattern
|
||||
ok 12 - /documentation/static/:file 404 # time=11.556ms
|
||||
|
||||
# Subtest: /documentation2/json route (overwrite)
|
||||
1..1
|
||||
ok 1 - valid swagger object
|
||||
ok 13 - /documentation2/json route (overwrite) # time=52.974ms
|
||||
|
||||
# Subtest: /documentation/:myfile should return 404 in dynamic mode
|
||||
1..1
|
||||
ok 1 - should be equal
|
||||
ok 14 - /documentation/:myfile should return 404 in dynamic mode # time=3.66ms
|
||||
|
||||
# Subtest: /documentation/:myfile should run custom NotFoundHandler in dynamic mode
|
||||
1..1
|
||||
ok 1 - should be equal
|
||||
ok 15 - /documentation/:myfile should run custom NotFoundHandler in dynamic mode # time=4.779ms
|
||||
|
||||
# Subtest: /documentation/* should not return module files when baseDir not set
|
||||
1..1
|
||||
ok 1 - should be equal
|
||||
ok 16 - /documentation/* should not return module files when baseDir not set # time=3.221ms
|
||||
|
||||
# Subtest: should return silent log level of route /documentation
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 6 - should be equal
|
||||
ok 7 - should be equal
|
||||
ok 8 - should be equal
|
||||
ok 9 - should be equal
|
||||
ok 10 - should be equal
|
||||
ok 11 - should be equal
|
||||
ok 12 - should be equal
|
||||
ok 13 - should be equal
|
||||
ok 14 - should be equal
|
||||
1..14
|
||||
ok 17 - should return silent log level of route /documentation # time=5.161ms
|
||||
|
||||
# Subtest: should return empty log level of route /documentation
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 6 - should be equal
|
||||
ok 7 - should be equal
|
||||
ok 8 - should be equal
|
||||
ok 9 - should be equal
|
||||
ok 10 - should be equal
|
||||
ok 11 - should be equal
|
||||
ok 12 - should be equal
|
||||
ok 13 - should be equal
|
||||
ok 14 - should be equal
|
||||
1..14
|
||||
ok 18 - should return empty log level of route /documentation # time=3.067ms
|
||||
|
||||
# Subtest: /documentation should display index html with correct asset urls
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 19 - /documentation should display index html with correct asset urls # time=4.341ms
|
||||
|
||||
# Subtest: /documentation/ should display index html with correct asset urls
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 20 - /documentation/ should display index html with correct asset urls # time=3.886ms
|
||||
|
||||
# Subtest: /docs should display index html with correct asset urls when documentation prefix is set
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 21 - /docs should display index html with correct asset urls when documentation prefix is set # time=2.848ms
|
||||
|
||||
# Subtest: /docs/ should display index html with correct asset urls when documentation prefix is set
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 22 - /docs/ should display index html with correct asset urls when documentation prefix is set # time=2.632ms
|
||||
|
||||
1..22
|
||||
108
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/serialize.test.js.tap
generated
vendored
Normal file
108
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/serialize.test.js.tap
generated
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
TAP version 14
|
||||
# Subtest: serialize
|
||||
1..8
|
||||
# Subtest: boolean
|
||||
1..2
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 1 - boolean # time=1.454ms
|
||||
|
||||
# Subtest: number
|
||||
1..7
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 6 - should be equal
|
||||
ok 7 - should be equal
|
||||
ok 2 - number # time=0.608ms
|
||||
|
||||
# Subtest: string
|
||||
1..3
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 3 - string # time=0.355ms
|
||||
|
||||
# Subtest: bigint
|
||||
1..3
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - bigint # time=0.347ms
|
||||
|
||||
# Subtest: function
|
||||
1..7
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 6 - should be equal
|
||||
ok 7 - should be equal
|
||||
ok 5 - function # time=0.592ms
|
||||
|
||||
# Subtest: undefined
|
||||
1..1
|
||||
ok 1 - should be equal
|
||||
ok 6 - undefined # time=0.243ms
|
||||
|
||||
# Subtest: symbol
|
||||
1..2
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 7 - symbol # time=0.401ms
|
||||
|
||||
# Subtest: object
|
||||
1..7
|
||||
# Subtest: null
|
||||
1..1
|
||||
ok 1 - should be equal
|
||||
ok 1 - null # time=0.252ms
|
||||
|
||||
# Subtest: RegExp
|
||||
1..1
|
||||
ok 1 - should be equal
|
||||
ok 2 - RegExp # time=0.339ms
|
||||
|
||||
# Subtest: Date
|
||||
1..1
|
||||
ok 1 - should be equal
|
||||
ok 3 - Date # time=5.243ms
|
||||
|
||||
# Subtest: Array
|
||||
1..5
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 4 - Array # time=0.607ms
|
||||
|
||||
# Subtest: POJO
|
||||
1..3
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 5 - POJO # time=0.358ms
|
||||
|
||||
# Subtest: Set
|
||||
1..3
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 6 - Set # time=0.331ms
|
||||
|
||||
# Subtest: Map
|
||||
1..3
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 7 - Map # time=0.461ms
|
||||
|
||||
ok 8 - object # time=11.107ms
|
||||
|
||||
ok 1 - serialize # time=23.146ms
|
||||
|
||||
1..1
|
||||
95
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/static.test.js.tap
generated
vendored
Normal file
95
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/static.test.js.tap
generated
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
TAP version 14
|
||||
# Subtest: swagger route returns yaml
|
||||
1..3
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - valid swagger yaml
|
||||
ok 1 - swagger route returns yaml # time=61.246ms
|
||||
|
||||
# Subtest: swagger route returns json
|
||||
1..3
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - valid swagger json
|
||||
ok 2 - swagger route returns json # time=17.207ms
|
||||
|
||||
# Subtest: postProcessor works, swagger route returns updated yaml
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - must match snapshot
|
||||
ok 4 - valid swagger yaml
|
||||
ok 3 - postProcessor works, swagger route returns updated yaml # time=17.301ms
|
||||
|
||||
# Subtest: swagger route returns explicitly passed doc
|
||||
1..2
|
||||
ok 1 - must match snapshot
|
||||
ok 2 - valid explicitly passed spec document
|
||||
ok 4 - swagger route returns explicitly passed doc # time=1.628ms
|
||||
|
||||
# Subtest: /documentation/:file should serve static file from the location of main specification file
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - /documentation/:file should serve static file from the location of main specification file # time=28.144ms
|
||||
|
||||
# Subtest: /documentation/non-existing-file calls custom NotFoundHandler
|
||||
1..1
|
||||
ok 1 - should be equal
|
||||
ok 6 - /documentation/non-existing-file calls custom NotFoundHandler # time=4.864ms
|
||||
|
||||
# Subtest: /documentation/:file should be served from custom location
|
||||
1..2
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 7 - /documentation/:file should be served from custom location # time=11.384ms
|
||||
|
||||
# Subtest: /documentation/:file should be served from custom location with trailing slash(es)
|
||||
1..2
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 8 - /documentation/:file should be served from custom location with trailing slash(es) # time=14.473ms
|
||||
|
||||
# Subtest: /documentation/yaml returns cache.swaggerString on second request in static mode
|
||||
1..6
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - valid swagger yaml
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 6 - valid swagger yaml
|
||||
ok 9 - /documentation/yaml returns cache.swaggerString on second request in static mode # time=17.006ms
|
||||
|
||||
# Subtest: /documentation/json returns cache.swaggerObject on second request in static mode
|
||||
1..6
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - valid swagger json
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 6 - valid swagger json
|
||||
ok 10 - /documentation/json returns cache.swaggerObject on second request in static mode # time=8.351ms
|
||||
|
||||
# Subtest: /documentation/yaml returns cache.swaggerString on second request in dynamic mode
|
||||
1..6
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - valid swagger yaml
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 6 - valid swagger yaml
|
||||
ok 11 - /documentation/yaml returns cache.swaggerString on second request in dynamic mode # time=17.962ms
|
||||
|
||||
# Subtest: /documentation/json returns cache.swaggerObject on second request in dynamic mode
|
||||
1..6
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - valid swagger json
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 6 - valid swagger json
|
||||
ok 12 - /documentation/json returns cache.swaggerObject on second request in dynamic mode # time=14.765ms
|
||||
|
||||
1..12
|
||||
31
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/swagger-initializer.test.js.tap
generated
vendored
Normal file
31
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/swagger-initializer.test.js.tap
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
TAP version 14
|
||||
# Subtest: /documentation/static/swagger-initializer.js should have default uiConfig
|
||||
1..2
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 1 - /documentation/static/swagger-initializer.js should have default uiConfig # time=38.835ms
|
||||
|
||||
# Subtest: /documentation/static/swagger-initializer.js should have configurable uiConfig
|
||||
1..2
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 2 - /documentation/static/swagger-initializer.js should have configurable uiConfig # time=3.996ms
|
||||
|
||||
# Subtest: /documentation/static/swagger-initializer.js should have default initOAuth
|
||||
1..2
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - /documentation/static/swagger-initializer.js should have default initOAuth # time=3.65ms
|
||||
|
||||
# Subtest: /documentation/static/swagger-initializer.js should have configurable initOAuth
|
||||
1..2
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 4 - /documentation/static/swagger-initializer.js should have configurable initOAuth # time=3.376ms
|
||||
|
||||
# Subtest: customize logo
|
||||
ok 1 - should be equal
|
||||
1..1
|
||||
ok 5 - customize logo # time=8.464ms
|
||||
|
||||
1..5
|
||||
56
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/theme.test.js.tap
generated
vendored
Normal file
56
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/theme.test.js.tap
generated
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
TAP version 14
|
||||
# Subtest: swagger route does not return additional theme
|
||||
1..5
|
||||
ok 1 - should be equal
|
||||
ok 2 - should not match pattern
|
||||
ok 3 - should not match pattern
|
||||
ok 4 - should not match pattern
|
||||
ok 5 - should be equal
|
||||
ok 1 - swagger route does not return additional theme # time=43.781ms
|
||||
|
||||
# Subtest: swagger route returns additional theme
|
||||
1..9
|
||||
ok 1 - should be equal
|
||||
ok 2 - should match pattern
|
||||
ok 3 - should match pattern
|
||||
ok 4 - should match pattern
|
||||
ok 5 - should be equal
|
||||
ok 6 - should be equal
|
||||
ok 7 - should be equal
|
||||
ok 8 - should be equal
|
||||
ok 9 - should be equal
|
||||
ok 2 - swagger route returns additional theme # time=7.438ms
|
||||
|
||||
# Subtest: swagger route returns additional theme - only js
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should match pattern
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 3 - swagger route returns additional theme - only js # time=6.481ms
|
||||
|
||||
# Subtest: swagger route returns additional theme - only css
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should match pattern
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 4 - swagger route returns additional theme - only css # time=5.806ms
|
||||
|
||||
# Subtest: swagger route returns additional theme - only favicon
|
||||
1..5
|
||||
ok 1 - should be equal
|
||||
ok 2 - should match pattern
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equal
|
||||
ok 5 - should be equal
|
||||
ok 5 - swagger route returns additional theme - only favicon # time=7.207ms
|
||||
|
||||
# Subtest: swagger route returns additional theme - only title
|
||||
1..3
|
||||
ok 1 - should be equal
|
||||
ok 2 - should match pattern
|
||||
ok 3 - should be equal
|
||||
ok 6 - swagger route returns additional theme - only title # time=3.962ms
|
||||
|
||||
1..6
|
||||
35
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/transform-swagger.test.js.tap
generated
vendored
Normal file
35
backend/node_modules/@fastify/swagger-ui/.tap/test-results/test/transform-swagger.test.js.tap
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
TAP version 14
|
||||
# Subtest: transformSpecification should modify the json
|
||||
1..5
|
||||
ok 1 - should not be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should not be equivalent
|
||||
ok 5 - should be equal
|
||||
ok 1 - transformSpecification should modify the json # time=42.934ms
|
||||
|
||||
# Subtest: transformSpecificationClone false should not deepclone fastify.swagger() /1
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equivalent strictly
|
||||
ok 2 - transformSpecificationClone false should not deepclone fastify.swagger() /1 # time=5.208ms
|
||||
|
||||
# Subtest: transformSpecification should modify the yaml
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equivalent
|
||||
ok 4 - should be equal
|
||||
ok 3 - transformSpecification should modify the yaml # time=11.914ms
|
||||
|
||||
# Subtest: transformSpecificationClone false should not deepclone fastify.swagger() /2
|
||||
1..4
|
||||
ok 1 - should be equal
|
||||
ok 2 - should be equal
|
||||
ok 3 - should be equal
|
||||
ok 4 - should be equivalent
|
||||
ok 4 - transformSpecificationClone false should not deepclone fastify.swagger() /2 # time=4.915ms
|
||||
|
||||
1..4
|
||||
Reference in New Issue
Block a user