File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ import { NoMoreEntriesException } from 'Exceptions'
2+ import 'Extensions/Error'
3+ import { describe } from 'riteway'
4+
5+ describe ( 'Exceptions NoMoreEntriesException' , async ( assert : any ) => {
6+ const noMoreEntriesException = new NoMoreEntriesException ( 'noMoreEntriesException' )
7+ const parseError = JSON . parse ( JSON . stringify ( noMoreEntriesException ) )
8+
9+ {
10+ const actual = parseError . message
11+ const expected = 'noMoreEntriesException'
12+
13+ assert ( {
14+ given : 'a NoMoreEntriesException' ,
15+ should : 'be the message property noMoreEntriesException' ,
16+ actual,
17+ expected,
18+ } )
19+ }
20+ } )
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import '../../src/BlockchainWriter/Bitcoin.test'
88import '../../src/BlockchainWriter/Controller.test'
99import '../../src/BlockchainWriter/Exceptions.test'
1010import '../../src/Configuration.test'
11+ import '../../src/Exceptions.test'
1112import '../../src/Extensions/Array.test.ts'
1213import '../../src/Extensions/Error.test.ts'
1314import '../../src/Extensions/Promise.test.ts'
You can’t perform that action at this time.
0 commit comments