Skip to content

Commit

Permalink
Tests for qualified sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelBCarter committed Dec 16, 2024
1 parent 347ebc5 commit 8d8e0eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"--run",
"--inspect-brk",
"--no-file-parallelism",
"packages/protocol/packages/payload/packages/model/src/StorageMeta/spec/SequenceParser.spec.ts"
"packages/modules/packages/diviner/packages/indexing/packages/temporal/packages/memory/src/StateToIndexCandidateDiviner/spec/Diviner.spec.ts"
],
"sourceMaps": true,
"resolveSourceMapLocations": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe('SequenceParser', () => {

describe('qualifiedSequence', () => {
it('concatenates localSequence and address correctly', () => {
expect(parsed.localSequence).toBe(`${parsed.epoch}${parsed.nonce}${parsed.address}`)
expect(parsed.qualifiedSequence).toBe(`${parsed.epoch}${parsed.nonce}${parsed.address}`)
expect(parsed.qualifiedSequence).toBe(`${parsed.localSequence}${parsed.address}`)
expect(parsed.qualifiedSequence).toBe(
'0000011f71fb04cbe5045e30ad20fbb1b36d327210f67ad98be881ddf6ad1f1b3e2c5137',
Expand Down

0 comments on commit 8d8e0eb

Please sign in to comment.