olta-art / olta.js

2 stars 0 forks source link

Add delete function #11

Open george-e-d-g-e opened 6 months ago

george-e-d-g-e commented 6 months ago

Once this issue is resolved we can add delete functionality to olta.js

Then delete function can be added to olta.js and olta.module.js Should be very similar to update function.

AlyssonEcenture commented 5 months ago

Good afternoon, how can I write the tests? Is it using Jest or is in the examples? Because in jest, I didn't find the update test.

george-e-d-g-e commented 5 months ago

Good afternoon, how can I write the tests? Is it using Jest or is in the examples? Because in jest, I didn't find the update test.

Ah yes, we haven't implemented other tests yet but felt it best to start testing moving forward. It's up to you but I would say unit tests with mock data will be fine.

Integration tests can happen on the smartweave app repo I reckon.

Cheers!