Skip to content

Commit

Permalink
added unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mAmineChniti committed Feb 3, 2024
1 parent 6a69427 commit d15d7d6
Show file tree
Hide file tree
Showing 5 changed files with 2,178 additions and 27 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/create-catonaut-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v1
with:
node-version: 'latest'
bun-version: latest

- name: Install Dependencies
run: npm install
run: bun install

- name: Run Tests
run: npm run test
run: bun run test
Binary file added bun.lockb
Binary file not shown.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"create-catonaut": "./src/index.js"
},
"scripts": {
"test": "./src/index.js testApp",
"test": "jest",
"format": "prettier --write '**/*.{js,jsx,ts,tsx,json,md,yml}' '**/**/*.{js,jsx,ts,tsx,json,md,yml}' '!dist/**' '!node_modules/**'"
},
"license": "MIT",
Expand All @@ -18,6 +18,7 @@
"isomorphic-git": "^1.25.3"
},
"devDependencies": {
"jest": "^29.7.0",
"prettier": "^3.2.2"
},
"files": [
Expand Down
Loading

0 comments on commit d15d7d6

Please sign in to comment.