Skip to content

pages build and deployment #111

pages build and deployment

pages build and deployment #111

GitHub Actions / Tests report succeeded Jan 12, 2025 in 0s

43 passed, 0 failed and 0 skipped

Tests passed successfully

βœ…Β reports/jest-junit.xml

43 tests were completed in 68s 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βœ… 179ms
src/clientConfiguration.test.ts 2βœ… 129ms
src/features/buildInformation/buildInformationRepository.test.ts 4βœ… 7s
src/features/capabilities/capability.test.ts 4βœ… 796ms
src/features/packages/pack/nugetPackageBuilder.test.ts 5βœ… 284ms
src/features/packages/pack/zipPackageBuilder.test.ts 6βœ… 6s
src/features/packages/packageRepository.test.ts 6βœ… 21s
src/features/projects/releases/deployments/deploymentRepository.test.ts 3βœ… 41s
src/features/projects/releases/releaseRepository.test.ts 4βœ… 20s
src/features/serverTasks/serverTaskWaiter.test.ts 5βœ… 68s

βœ…Β 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