# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: MIT-0 version: 0.2 phases: install: commands: # Install all dependencies (including dependencies for running tests) - cd ./__tests__/integration - chmod +x test_init.sh - chmod +x test_cleanup.sh - npm install pre_build: commands: # Prepare environment for testing - eval "$(./test_init.sh)" build: commands: # Discover and run integration tests in the '__tests__/inegration' directory - npm run test:integration post_build: commands: # Cleanup after testing - ./test_cleanup.sh