pages build and deployment #111
GitHub Actions / Tests report
succeeded
Jan 9, 2025 in 1s
43 passed, 0 failed and 0 skipped
β Β reports/jest-junit.xml
43 tests were completed in 62s with 43 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
src/adapters/createRequestHeaders.test.ts | 3β | 131ms | ||
src/client.test.ts | 1β | 159ms | ||
src/clientConfiguration.test.ts | 2β | 89ms | ||
src/features/buildInformation/buildInformationRepository.test.ts | 4β | 6s | ||
src/features/capabilities/capability.test.ts | 4β | 916ms | ||
src/features/packages/pack/nugetPackageBuilder.test.ts | 5β | 320ms | ||
src/features/packages/pack/zipPackageBuilder.test.ts | 6β | 6s | ||
src/features/packages/packageRepository.test.ts | 6β | 16s | ||
src/features/projects/releases/deployments/deploymentRepository.test.ts | 3β | 36s | ||
src/features/projects/releases/releaseRepository.test.ts | 4β | 18s | ||
src/features/serverTasks/serverTaskWaiter.test.ts | 5β | 62s |
β Β src/adapters/createRequestHeaders.test.ts
createRequestHeaders
β
when api key is provided it is put into the correct request header
β
when an access token is provided it is put into the correct request header
β
when neither an access token or api key is provided then the correct api key header is filled in for backward compatibility
β Β src/client.test.ts
client
β
throws with invalid configuration
β Β src/clientConfiguration.test.ts
configuration
β
undefined
β
blank
β Β src/features/buildInformation/buildInformationRepository.test.ts
configuration
β
undefined
β
blank
push build information
β
to single package
β
to a package failed
β Β src/features/capabilities/capability.test.ts
configuration
β
undefined
β
blank
Check capabilities
β
Returns no error for something we know exists
β
Returns false for something we know does not exist
β Β src/features/packages/pack/nugetPackageBuilder.test.ts
Can create a NuGet packages
β
Can create with a single specific file
β
Can create with wildcarded files
β
Can create with wildcarded files and a nuspec
β
Can create with a package in a relative folder
β
Can create with unexpected characters
β Β src/features/packages/pack/zipPackageBuilder.test.ts
Can create a Zip packages
β
Can create with a single specific file
β
Can create with wildcarded files
β
Can create with multiples and wildcarded directories
β
Can create with '.' as the basePath
β
Can create zip file with dot-files included
β
Re-creating a zip with overwrite set to false does not replace the existing archive
β Β src/features/packages/packageRepository.test.ts
configuration
β
undefined
β
blank
push package
β
single package
β
multiple packages
β
failed package
β
very large package
β Β src/features/projects/releases/deployments/deploymentRepository.test.ts
configuration
β
undefined
β
blank
deploy a release
β
deploy to single environment
β Β src/features/projects/releases/releaseRepository.test.ts
configuration
β
undefined
β
blank
create a release
β
can create a release
create a release βΊ create with packages
β
using packages
β Β src/features/serverTasks/serverTaskWaiter.test.ts
configuration
β
undefined
β
blank
wait for server task βΊ non-existent task
β
wait exits correctly
wait for server task βΊ existing task
β
deploy with default timeout exits correctly
β
deploy with short timeout exits correctly
Loading