Skip to content

Commit af23e64

Browse files
authored
Merge pull request #3 from mine-scripters/update-_
Allow our translate function to have arguments
2 parents ff39caf + a34031f commit af23e64

File tree

6 files changed

+4878
-1237
lines changed

6 files changed

+4878
-1237
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,14 @@ jobs:
2626
run: npm run lint
2727
- name: Check format
2828
run: npm run prettier:check
29-
# Disabling tests
30-
#- name: Run tests
31-
# run: npm run test -- --coverage
29+
- name: Run tests
30+
run: npm run test -- --coverage
3231
- name: Build
3332
run: npm run build
34-
#- name: Upload coverage reports to Codecov
35-
# uses: codecov/codecov-action@v3
36-
# env:
37-
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
33+
- name: Upload coverage reports to Codecov
34+
uses: codecov/codecov-action@v3
35+
env:
36+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3837
- uses: stefanzweifel/git-auto-commit-action@v5
3938
if: ${{ github.ref == 'refs/heads/main' }}
4039
with:

jest.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/** @type {import('ts-jest').JestConfigWithTsJest} **/
2+
module.exports = {
3+
testEnvironment: 'node',
4+
transform: {
5+
'^.+\.tsx?$': ['ts-jest', {}],
6+
},
7+
};

0 commit comments

Comments
 (0)