Skip to content

Commit e04755d

Browse files
committed
add some logging
1 parent e9b1d64 commit e04755d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/index.test.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ it('should handle registration, program management, and signing', async () => {
132132
} catch (e) {
133133
console.error('Error in pre-registration status check:', e.message)
134134
}
135-
135+
136136
try {
137137
await entropy.register({
138138
address: charlieStashAddress,
@@ -150,26 +150,26 @@ it('should handle registration, program management, and signing', async () => {
150150
charlieStashAddress
151151
)
152152
).toBeTruthy()
153-
153+
154154
// Post-registration check
155155
try {
156156
const postRegistrationStatus = await entropy.isRegistered(charlieStashAddress)
157157
expect(postRegistrationStatus).toBeTruthy()
158-
158+
159159
const postStringifiedResponse = JSON.stringify(postRegistrationStatus)
160160
console.log("is Registered post-registration?", postStringifiedResponse)
161-
161+
162162
if (postStringifiedResponse === 'false') {
163163
console.log("is not registered")
164164
}
165-
165+
166166
expect(postStringifiedResponse).toBe('true')
167-
167+
168168
console.log('post registration')
169169
} catch (e) {
170170
console.error('Error in post-registration status check:', e.message)
171171
}
172-
172+
173173

174174
// Set a program for the user
175175
const dummyProgram: any = readFileSync(

0 commit comments

Comments
 (0)