Skip to content

Commit

Permalink
feat(ref-imp): #781 - lint
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacJChen committed Sep 23, 2020
1 parent d964c92 commit 0e2665d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/core/CreateOperation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('CreateOperation', async () => {
});

it('should throw sidetree error if type is not create', () => {
const testObject = {
const testObject = {
type: 'notCreate',
suffix_data: {
delta_hash: 'something',
Expand All @@ -92,7 +92,7 @@ describe('CreateOperation', async () => {
});

it('should throw sidetree error if has more or less than 1 property when in anchor file mode', () => {
const testObject = {
const testObject = {
type: 'this should not exist',
suffix_data: {
delta_hash: 'something',
Expand All @@ -106,7 +106,7 @@ describe('CreateOperation', async () => {
} catch (e) {
expect(e).toEqual(new SidetreeError(ErrorCode.CreateOperationMissingOrUnknownProperty));
}
})
});
});

describe('computeJcsDidUniqueSuffix', () => {
Expand Down

0 comments on commit 0e2665d

Please sign in to comment.