persvr / perstore

CommonJS persistence/object storage based on W3C's object store API.
http://www.persvr.org/
96 stars 20 forks source link

tests: get tests running (one test is failing) #20

Open neonstalwart opened 12 years ago

neonstalwart commented 12 years ago

bare minimum to get tests running again.

testMethodPermissive is failing (will open another issue for that)

neonstalwart commented 12 years ago

there's still more tests that could be written but that's all i have for now. construct.put and propDef.set still don't have any tests and then more tests could also be added to check finer details like (non)enumerable properties, using an existing model as the appliesTo etc.

feel free to tweak, add or remove tests - these are a result of my attempts to reverse engineer the code so the test could very well be testing the wrong things.