Skip to content

Commit 093c110

Browse files
committed
test: 💍 fix test.skip case. no skip now
1 parent 754fb20 commit 093c110

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,4 +228,5 @@ typings/
228228
.vscode
229229
aelf.umd.js.LICENSE.txt
230230

231-
dist
231+
dist
232+
test-results

test/e2e/aelf-esm-basic.test.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,9 @@ describe('AElf ESM Build Artifact Basic Tests', () => {
209209
expect(hash.length).toBe(64); // SHA256 produces 64 character hex string
210210
});
211211

212-
test.skip('should handle base58 encoding/decoding', () => {
213-
// Skip this test due to checksum validation issues in the build
212+
test('should handle base58 encoding/decoding', () => {
214213
const testData = 'hello world';
215-
const encoded = AElf.utils.base58.encode(testData);
214+
const encoded = AElf.utils.base58.encode(testData, 'utf8');
216215
const decoded = AElf.utils.base58.decode(encoded, 'utf8');
217216

218217
expect(encoded).toBeDefined();
@@ -235,7 +234,7 @@ describe('AElf ESM Build Artifact Basic Tests', () => {
235234
test('should generate hash for token contract name', () => {
236235
const tokenContractName = 'AElf.ContractNames.Token';
237236
const hash = AElf.utils.sha256(tokenContractName);
238-
237+
239238
expect(hash).toBeDefined();
240239
expect(typeof hash).toBe('string');
241240
expect(hash.length).toBe(64); // SHA256 produces 64 character hex string

0 commit comments

Comments
 (0)