Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4eb8e17
fix: added the test file once again
Jan 14, 2024
9390512
fix: test script fixed, and moved the var of the useEffect outside to…
Jan 14, 2024
a0e4fb5
feat: created the tests setup - before, after etc.., added prettier
Jan 15, 2024
1379a75
fix: fixed the package.json so it will run tests
Jan 15, 2024
74108bd
fix: prettier, andremoved ts-node from package.json
Jan 16, 2024
03360a7
feat: added a cart driver
Jan 16, 2024
7247172
feat: added data-testid to different elements and completed the modal…
Jan 17, 2024
c86d2ef
fix: changed the data-testid to be the id of the item instead of the …
Jan 17, 2024
09dca14
feat: added getter functions to the cart-driver and applyied prettier
Jan 17, 2024
82354a5
fix: fixed the error message inside the card to not be visible
Jan 17, 2024
e868afe
feat:added a unique data-testid to each size button for every item
Jan 18, 2024
05452eb
feat: created the addSomeItemsToCart method to th driver
Jan 21, 2024
deaf951
feat: completet the total price match test
Jan 21, 2024
9823d09
feat:Added a test to confirm that changing the quantity of a product …
Jan 22, 2024
671989d
feat: changed the second test to navigate to the pants page instead o…
Jan 22, 2024
0802ad8
fix:fixed the changeNumOfItem in the cart context so it will reevalua…
Jan 22, 2024
8dabd7c
feat:Enhanced test case for item quantity adjustment, ensuring accura…
Jan 22, 2024
8a13a38
fix: changed the description of the tests to be more informative
Jan 22, 2024
5206e78
fix: removed unneccesary dependencies to package.json
Jan 22, 2024
3b36025
Just for fun
Feb 1, 2024
746b9d9
Share button sanity
Feb 5, 2024
40b40cb
my new commit
Feb 6, 2024
8ce8ccd
name changed
Feb 7, 2024
f11719a
delete
Feb 7, 2024
497ae5a
check
Feb 7, 2024
1f21cc4
validation-commit
Feb 21, 2024
135cc2b
revert
Feb 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
},
};
5 changes: 0 additions & 5 deletions .mocharc.cjs

This file was deleted.

5 changes: 5 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extensions": ["ts"],
"it": ["**/*.test.*"],
"node-option": ["experimental-specifier-resolution=node", "loader=ts-node/esm"]
}
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"tabWidth": 3,
"semi": true,
"singleQuote": true,
"bracketSameLine": true
"bracketSameLine": true,
"printWidth": 100
}
Loading