Skip to content

Commit 8d0200e

Browse files
committed
refactor: use Jest projects config for unit and e2e tests
1 parent 79b8751 commit 8d0200e

File tree

159 files changed

+1515
-6905
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+1515
-6905
lines changed

β€Ž.github/workflows/code_standard_check.ymlβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
examples/example-app-monorepo/node_modules
3535
examples/example-app-v15/node_modules
3636
examples/example-app-v17/node_modules
37+
examples/example-app-v18/node_modules
3738
examples/example-app-yarn-workspace/node_modules
3839
key: ${{ inputs.os }}-${{ inputs.node }}-build-${{ hashFiles('**/yarn.lock') }}
3940
restore-keys: |

β€Ž.github/workflows/install.ymlβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
examples/example-app-monorepo/node_modules
3636
examples/example-app-v15/node_modules
3737
examples/example-app-v17/node_modules
38+
examples/example-app-v18/node_modules
3839
examples/example-app-yarn-workspace/node_modules
3940
key: ${{ inputs.os }}-${{ inputs.node }}-build-${{ hashFiles('**/yarn.lock') }}
4041
restore-keys: |
@@ -53,4 +54,5 @@ jobs:
5354
yarn --cwd examples/example-app-monorepo
5455
yarn --cwd examples/example-app-v15
5556
yarn --cwd examples/example-app-v17
57+
yarn --cwd examples/example-app-v18
5658
yarn --cwd examples/example-app-yarn-workspace

β€Ž.github/workflows/release-and-publish.ymlβ€Ž renamed to β€Ž.github/workflows/release_and_publish.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This is a workflow to create github release for a tag and publish the package
22
# to npm repo
33

4-
name: release-and-publish
4+
name: Release and publish
55

66
# Controls when the action will run. Triggers the workflow on push of tag
77
# request events but only tags matching the configured regex

β€Ž.github/workflows/test.ymlβ€Ž

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
examples/example-app-monorepo/node_modules
3535
examples/example-app-v15/node_modules
3636
examples/example-app-v17/node_modules
37+
examples/example-app-v18/node_modules
3738
examples/example-app-yarn-workspace/node_modules
3839
key: ${{ inputs.os }}-${{ inputs.node }}-build-${{ hashFiles('**/yarn.lock') }}
3940
restore-keys: |
@@ -44,8 +45,11 @@ jobs:
4445
with:
4546
node-version: ${{ inputs.node }}
4647

47-
- name: Run tests πŸ§ͺ
48+
- name: Run tests in CommonJS mode πŸ§ͺ
4849
run: yarn test
4950

51+
- name: Run tests in ESM mode πŸ§ͺ
52+
run: yarn test-esm
53+
5054
- name: Run tests in example projects πŸ§ͺ
5155
run: yarn test-examples

β€Že2e/__tests__/ast-transformers.test.tsβ€Ž

Lines changed: 0 additions & 23 deletions
This file was deleted.

β€Že2e/__tests__/async.test.tsβ€Ž

Lines changed: 0 additions & 22 deletions
This file was deleted.

β€Že2e/__tests__/babel-support.test.tsβ€Ž

Lines changed: 0 additions & 22 deletions
This file was deleted.

β€Že2e/__tests__/custom-typings.test.tsβ€Ž

Lines changed: 0 additions & 22 deletions
This file was deleted.

β€Že2e/__tests__/full-ivy-lib.test.tsβ€Ž

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
Β (0)