feat: add rspack dynamic import configuration to rsbuild (#3819) #2560
GitHub Actions / Test Report
succeeded
Jan 16, 2025 in 1s
143 passed, 0 failed and 0 skipped
✅ packages/bruno-tests/collection/junit.xml
143 tests were completed in 25s with 143 passed, 0 failed and 0 skipped.
✅ auth/basic/via auth/Basic Auth 200
https://testbench-sanity.usebruno.com/api/auth/basic/protected
✅ res.status 200
✅ res.body.message Authentication successful
✅ auth/basic/via auth/Basic Auth 401
https://testbench-sanity.usebruno.com/api/auth/basic/protected
✅ res.status 401
✅ res.body Unauthorized
✅ auth/basic/via script/Basic Auth 200
https://testbench-sanity.usebruno.com/api/auth/basic/protected
✅ res.status eq 200
✅ res.body.message Authentication successful
✅ auth/basic/via script/Basic Auth 401
https://testbench-sanity.usebruno.com/api/auth/basic/protected
✅ res.status 401
✅ res.body Unauthorized
✅ auth/bearer/via auth/Bearer Auth 200
https://testbench-sanity.usebruno.com/api/auth/bearer/protected
✅ res.status 200
✅ res.body.message Authentication successful
✅ auth/bearer/via headers/Bearer Auth 200
https://testbench-sanity.usebruno.com/api/auth/bearer/protected
✅ res.status 200
✅ res.body.message Authentication successful
✅ auth/inherit auth/inherit Bearer Auth 200
https://testbench-sanity.usebruno.com/api/auth/bearer/protected
✅ res.status 200
✅ res.body.message Authentication successful
✅ echo/echo form-url-encoded
https://echo.usebruno.com
✅ res.body eq form-data-key=form-data-value&form-data-stringified-object=%7B%22foo%22%3A123%7D
✅ echo/echo json
https://testbench-sanity.usebruno.com/api/echo/json
✅ res.status eq 200
✅ should return json
✅ echo/echo multipart
https://echo.usebruno.com
✅ res.body contains form-data-value
✅ res.body contains {"foo":123}
✅ res.body contains Content-Type: application/json--test
✅ echo/echo multipart scripting
https://echo.usebruno.com
✅ res.body contains form-data-value
✅ echo/echo numbers
https://echo.usebruno.com
✅ res.body.integer eq 123
✅ res.body.integer isNumber
✅ res.body.negativeInteger eq -99
✅ res.body.negativeInteger isNumber
✅ res.body.zero eq 0
✅ res.body.zero isNumber
✅ res.body.float eq 2.718
✅ res.body.float isNumber
✅ res.body.negativeFloat eq -1.618
✅ res.body.negativeFloat isNumber
✅ res.body.largeDouble eq 12345.678901234567
✅ res.body.largeDouble isNumber
✅ res.body.smallDouble eq 9.876e-12
✅ res.body.smallDouble isNumber
✅ res.body.booleanTrue eq true
✅ res.body.booleanFalse eq false
✅ echo/echo plaintext
https://testbench-sanity.usebruno.com/api/echo/text
✅ res.status eq 200
✅ should return plain text
✅ echo/echo xml parsed
https://testbench-sanity.usebruno.com/api/echo/xml-parsed
✅ res.status eq 200
✅ should return parsed xml
✅ echo/echo xml parsed(self closing tags)
https://testbench-sanity.usebruno.com/api/echo/xml-parsed
✅ res.status eq 200
✅ should return parsed xml
✅ graphql/spacex
https://spacex-production.up.railway.app/
✅ res.status eq 200
✅ preview/html/bruno
https://www.usebruno.com
✅ res.status eq 200
✅ should return parsed xml
✅ preview/image/bruno
https://www.usebruno.com/favicon.ico
✅ should return parsed xml
✅ redirects/Disable Redirect
https://testbench-sanity.usebruno.com/redirect-to-ping
✅ res.status 302
✅ should disable redirect to ping
✅ redirects/Test Redirect
https://testbench-sanity.usebruno.com/redirect-to-ping
✅ res.status 200
✅ res.body pong
✅ should redirect to ping
✅ scripting/api/bru/getCollectionVar
https://testbench-sanity.usebruno.com/ping
✅ should get collection var in scripts
✅ scripting/api/bru/getEnvName
https://testbench-sanity.usebruno.com/ping
✅ should get env name in scripts
✅ scripting/api/bru/getEnvVar
https://testbench-sanity.usebruno.com/ping
✅ should get env var in scripts
✅ scripting/api/bru/getFolderVar
https://testbench-sanity.usebruno.com/ping
✅ should get folder var in scripts
✅ scripting/api/bru/getProcessEnv
https://testbench-sanity.usebruno.com/ping
✅ bru.getProcessEnv()
✅ scripting/api/bru/getRequestVar
https://testbench-sanity.usebruno.com/ping
✅ should get request var in scripts
✅ scripting/api/bru/getVar
https://testbench-sanity.usebruno.com/ping
✅ should get var in scripts
✅ scripting/api/bru/setEnvVar
https://testbench-sanity.usebruno.com/ping
✅ should set env var in scripts
✅ scripting/api/bru/setVar
https://testbench-sanity.usebruno.com/ping
✅ should get var in scripts
✅ scripting/api/req/getBody
https://testbench-sanity.usebruno.com/api/echo/json
✅ res.status eq 200
✅ req.getBody()
✅ scripting/api/req/getHeader
https://testbench-sanity.usebruno.com/ping
✅ res.status eq 200
✅ res.body eq pong
✅ req.getHeader(name)
✅ scripting/api/req/getHeaders
https://testbench-sanity.usebruno.com/ping
✅ res.status eq 200
✅ res.body eq pong
✅ req.getHeaders()
✅ scripting/api/req/getMethod
https://testbench-sanity.usebruno.com/ping
✅ res.status eq 200
✅ res.body eq pong
✅ req.getMethod()()
✅ scripting/api/req/getUrl
https://testbench-sanity.usebruno.com/ping
✅ res.status eq 200
✅ res.body eq pong
✅ req.getUrl()
✅ scripting/api/req/setBody
https://testbench-sanity.usebruno.com/api/echo/json
✅ res.status eq 200
✅ req.setBody()
✅ scripting/api/req/setHeader
https://testbench-sanity.usebruno.com/ping
✅ res.status eq 200
✅ res.body eq pong
✅ req.setHeader(name)
✅ scripting/api/req/setHeaders
https://testbench-sanity.usebruno.com/ping
✅ res.status eq 200
✅ res.body eq pong
✅ req.setHeaders()
✅ scripting/api/req/setMethod
https://testbench-sanity.usebruno.com/ping
✅ res.status eq 200
✅ res.body eq pong
✅ req.setMethod()()
✅ scripting/api/req/setUrl
https://testbench-sanity.usebruno.com/ping
✅ res.status eq 200
✅ res.body eq pong
✅ req.setUrl()
✅ scripting/api/res/getBody
https://testbench-sanity.usebruno.com/api/echo/json
✅ res.status eq 200
✅ res.getBody()
✅ scripting/api/res/getHeader
https://testbench-sanity.usebruno.com/api/echo/json
✅ res.status eq 200
✅ res.getHeader(name)
✅ scripting/api/res/getHeaders
https://testbench-sanity.usebruno.com/api/echo/json
✅ res.status eq 200
✅ res.getHeaders(name)
✅ scripting/api/res/getResponseTime
https://testbench-sanity.usebruno.com/api/echo/json
✅ res.status eq 200
✅ res.getResponseTime()
✅ scripting/api/res/getStatus
https://testbench-sanity.usebruno.com/ping
✅ res.status eq 200
✅ res.body eq pong
✅ res.getStatus()
✅ scripting/inbuilt modules/axios/axios-pre-req-script
https://testbench-sanity.usebruno.com/api/echo/json
✅ req.getBody()
✅ scripting/inbuilt modules/crypto-js/crypto-js-pre-request-script
https://testbench-sanity.usebruno.com/ping
✅ crypto message
✅ scripting/inbuilt modules/nanoid/nanoid
https://testbench-sanity.usebruno.com/ping
✅ nanoid var
✅ scripting/inbuilt modules/uuid/uuid
https://testbench-sanity.usebruno.com/ping
✅ uuid var
✅ scripting/js/data types
https://testbench-sanity.usebruno.com/api/echo/json
✅ data types check via bru var
✅ scripting/js/data types - request vars
https://testbench-sanity.usebruno.com/api/echo/json
✅ req.body.boolean isBoolean false
✅ req.body.number_1 isNumber 1
✅ req.body.undefined isUndefined undefined
✅ req.body.string isString bruno
✅ req.body.null isNull null
✅ req.body.array isArray
✅ req.body.boolean eq false
✅ req.body.number_1 eq 1
✅ req.body.undefined eq undefined
✅ req.body.string eq bruno
✅ req.body.null eq null
✅ req.body.number_2 eq 0
✅ req.body.number_3 eq -1
✅ req.body.number_2 isNumber
✅ req.body.number_3 isNumber
✅ scripting/js/folder-collection script-tests
https://echo.usebruno.com
✅ should get the header value set at collection level
✅ should get the header value set at folder level
✅ folder level test - should get the var that was set by the folder script
✅ collection level test - should get the var that was set by the collection script
✅ scripting/js/setTimeout
https://testbench-sanity.usebruno.com/ping
✅ setTimeout()
✅ scripting/local modules/invalid and valid module imports
https://testbench-sanity.usebruno.com/ping
✅ invalid_module_error_thrown eq true
✅ valid_module_no_error eq true
✅ scripting/local modules/sum
https://testbench-sanity.usebruno.com/api/echo/json
✅ res.status eq 200
✅ should return json
✅ should return json
✅ should return json
✅ scripting/local modules/sum (without js extn)
https://testbench-sanity.usebruno.com/api/echo/json
✅ res.status eq 200
✅ should return json
✅ scripting/npm modules/fakerjs
https://testbench-sanity.usebruno.com/api/echo/json
✅ res.status eq 200
✅ should return json
✅ string interpolation/env vars
https://testbench-sanity.usebruno.com/api/echo/json
✅ res.status eq 200
✅ should return json
✅ string interpolation/missing values
https://testbench-sanity.usebruno.com/api/echo/json?foo={{undefinedVar}}
✅ res.status eq 200
✅ should return json
✅ string interpolation/process env vars
https://testbench-sanity.usebruno.com/api/echo/json
✅ res.status eq 200
✅ should return json
✅ string interpolation/runtime vars
https://testbench-sanity.usebruno.com/api/echo/text
✅ res.status eq 200
✅ should return json
Loading