tests: angular tests require recursive copy

This commit is contained in:
Richard Moore 2023-04-28 21:38:23 +09:00
parent e14afe3994
commit f2fb8b5ede

View File

@ -33,7 +33,7 @@ jobs:
path: "faux_modules/ethers"
- name: Copy tests to working directory
run: cp faux_modules/ethers/testcases/test-env/test-tsc/* .
run: cp -r faux_modules/ethers/testcases/test-env/test-tsc/* .
- name: Prepare setup moduleResolution=${{ matrix.tsModuleResolution }} module=${{ matrix.tsModule }}
run: node prepare.cjs ${{ matrix.tsModuleResolution }} ${{ matrix.tsModule }}
@ -54,7 +54,7 @@ jobs:
run: npm test
test-angular:
name: Test Angular Environments
name: Test Angular Environment
runs-on: ubuntu-latest
@ -73,7 +73,7 @@ jobs:
path: "faux_modules/ethers"
- name: Copy tests to working directory
run: cp faux_modules/ethers/testcases/test-env/angular/* .
run: cp -r faux_modules/ethers/testcases/test-env/angular/* .
- name: Install and run Faux Registry
uses: ethers-io/hijack-npm-action@main