Skip to content

Commit

Permalink
test: refactor e2e test structure
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl committed Aug 15, 2024
1 parent a6b010f commit 34c1921
Show file tree
Hide file tree
Showing 265 changed files with 7,785 additions and 13,943 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,9 @@ jobs:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.node-version }}
parallel: true
- name: Run e2e tests
run: |
npm run test-e2e-cjs
npm run test-e2e-esm
- name: Run tests in example projects
run: npm run test-examples
14 changes: 8 additions & 6 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,27 @@ website
# Developement scripts
scripts

# .config file
*.config.js
*.config.cjs
*.config.mjs
*.config.ts
*.config.cts
*.config.mts

# CI
.github

# Eslint
.eslintignore
.eslintrc.js
commitlint.config.js
.prettierignore
.prettierrc

# Internal jest config
jest.config.js
jest-base.js

# Tsconfig
tsconfig.build.json
tsconfig.eslint.json
tsconfig.json
tsconfig.spec.json

# Logs
logs
Expand Down
7 changes: 0 additions & 7 deletions e2e/__tests__/__snapshots__/const-enum.test.ts.snap

This file was deleted.

27 changes: 0 additions & 27 deletions e2e/__tests__/__snapshots__/coverage-report.test.ts.snap

This file was deleted.

53 changes: 0 additions & 53 deletions e2e/__tests__/__snapshots__/enum.test.ts.snap

This file was deleted.

33 changes: 0 additions & 33 deletions e2e/__tests__/__snapshots__/native-esm-js.test.ts.snap

This file was deleted.

69 changes: 0 additions & 69 deletions e2e/__tests__/__snapshots__/source-map.test.ts.snap

This file was deleted.

13 changes: 0 additions & 13 deletions e2e/__tests__/__snapshots__/transform-js.test.ts.snap

This file was deleted.

64 changes: 0 additions & 64 deletions e2e/__tests__/ast-transformers.test.ts

This file was deleted.

20 changes: 0 additions & 20 deletions e2e/__tests__/config-typing.test.ts

This file was deleted.

16 changes: 0 additions & 16 deletions e2e/__tests__/const-enum.test.ts

This file was deleted.

42 changes: 0 additions & 42 deletions e2e/__tests__/coverage-report.test.ts

This file was deleted.

Loading

0 comments on commit 34c1921

Please sign in to comment.