Skip to content

Commit

Permalink
fix(test): correct params for get record
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Oct 16, 2024
1 parent 4e7dd4c commit f999c49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/cjs/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ describe('ANT', async () => {
assert(controllers);
const records = await ant.getRecords({ strict });
assert(records);
const record = await ant.getRecord({ name: 'ardrive' }, { strict });
const record = await ant.getRecord({ undername: 'ardrive' }, { strict });
assert(record);
});
it(`should be able to read methods when strict is false`, async () => {
Expand All @@ -427,7 +427,7 @@ describe('ANT', async () => {
assert(controllers);
const records = await ant.getRecords({ strict });
assert(records);
const record = await ant.getRecord({ name: 'ardrive' }, { strict });
const record = await ant.getRecord({ undername: 'ardrive' }, { strict });
assert(record);
});
});

0 comments on commit f999c49

Please sign in to comment.