Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor to use Proxy (backwards compatible) #150

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
9cd5acd
add test launcher for vscode
BryanCrotaz Dec 8, 2021
bdb5e02
refactor to separate files ready for ProxyChangeset
BryanCrotaz Dec 8, 2021
ffb953e
initial add files
BryanCrotaz Dec 8, 2021
6385273
changes storage finished, validation WIP
BryanCrotaz Dec 9, 2021
6567bf3
Start to implement validation
BryanCrotaz Dec 13, 2021
7365367
fix more tests
BryanCrotaz Dec 15, 2021
4ceac70
fix native setter test
BryanCrotaz Dec 15, 2021
a6b60d0
make debugging in vscode work
BryanCrotaz Dec 15, 2021
79478f3
fix running tests
BryanCrotaz Dec 15, 2021
5760701
fix toString so that equality tests work
BryanCrotaz Dec 15, 2021
918403b
remove test for toString override
BryanCrotaz Dec 15, 2021
cd55f7a
deliver errors in alphabetical order so that tests are predictable
BryanCrotaz Dec 15, 2021
6fdd099
implement skip validation option
BryanCrotaz Dec 15, 2021
eb3afb8
correctly identify changesets without private api
BryanCrotaz Dec 15, 2021
86fe5c1
fix test that relies on toString
BryanCrotaz Dec 15, 2021
1dd23e3
improve empty hash test
BryanCrotaz Dec 15, 2021
7ccc8df
clean up
BryanCrotaz Dec 15, 2021
1e4a96c
fix defineProperty on the proxy
BryanCrotaz Dec 15, 2021
1c09dcc
fix test comparisons that rely on ordering
BryanCrotaz Dec 15, 2021
2d5fcf4
add change storage to array proxy
BryanCrotaz Dec 15, 2021
9080ccf
fix array behaviour
BryanCrotaz Dec 16, 2021
e771328
fix change tracking tests
BryanCrotaz Dec 16, 2021
6b96e28
fix object change detection
BryanCrotaz Dec 16, 2021
34cc3c5
fix save returning async nested save result
BryanCrotaz Dec 16, 2021
688e9fd
fix error message ordering in alphabetical order
BryanCrotaz Dec 16, 2021
c91a56c
fix test for prepare - was dependent on array order
BryanCrotaz Dec 16, 2021
0d130ea
add access tests
BryanCrotaz Dec 16, 2021
cae41c1
implement merge
BryanCrotaz Dec 16, 2021
6526068
remove package lock
BryanCrotaz Dec 17, 2021
fb96ffe
remove old changesets
BryanCrotaz Dec 17, 2021
a879491
remove old changesets
BryanCrotaz Dec 17, 2021
9845ccc
fix async validation test
BryanCrotaz Dec 21, 2021
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
34 changes: 34 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"version": "0.2.0",
"configurations":[
{
"type": "node",
"name": "vscode-jest-tests",
"request": "launch",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"program": "${workspaceFolder}/node_modules/.bin/jest",
"cwd": "${workspaceFolder}",
"args": [
"unit",
"--runInBand",
"--watchAll=false"
]
},
{
"type": "node",
"name": "vscode-jest-tests-windows",
"request": "launch",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"cwd": "${workspaceFolder}",
"args": [
"--runInBand",
"--watchAll=false"
]
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"jest.jestCommandLine": "./node_modules/.bin/jest --runInBand"
}
Loading