Skip to content

Commit

Permalink
linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
LiranCohen committed Jan 31, 2024
1 parent c0be1e6 commit 4efdc38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/api/tests/record.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe('Record', () => {


// Bob queries for the record on his own DWN (should not find it)
let bobQueryBobDwn = await dwnBob.records.query({
let bobQueryBobDwn = await dwnBob.records.query({
from : bobDid.did,
message : {
filter: {
Expand Down Expand Up @@ -2327,7 +2327,7 @@ describe('Record', () => {

// Bob queries for the record from his own node, should not return any results
let queryResult = await dwnBob.records.query({
message : {
message: {
filter: {
recordId: record!.id
}
Expand All @@ -2348,15 +2348,15 @@ describe('Record', () => {
expect(queryResultFromAlice.status.code).to.equal(200);
expect(queryResultFromAlice.records.length).to.equal(1);
const queriedRecord = queryResultFromAlice.records[0];
expect(await queriedRecord.data.text()).to.equal(updatedText)
expect(await queriedRecord.data.text()).to.equal(updatedText);

// stores the record in Bob's DWN, since import is defaulted to true, it will sign the record as bob
const { status: storeRecordStatus } = await queriedRecord.store();
expect(storeRecordStatus.code).to.equal(202, storeRecordStatus.detail);

// The record should now exist on bob's node
queryResult = await dwnBob.records.query({
message : {
message: {
filter: {
recordId: record!.id
}
Expand Down

0 comments on commit 4efdc38

Please sign in to comment.