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

AssertionError: expected undefined to equal 1 in describe("Listing") #1

Open
wesley-lewis opened this issue Jan 17, 2023 · 0 comments

Comments

@wesley-lewis
Copy link

Solution:

it("Returns item attributes", async () => {
const item = await dappazon.items(1)
expect(item.id).to.equal(1)
})

item.id should be replaced with item._id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant