Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ciripel committed Jan 15, 2024
1 parent 8697ef7 commit 68a4747
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
fvm flutter pub get

# Off emulator tests
fvm flutter test tests
fvm flutter test test

# On emulator tests
cd example
Expand Down
5 changes: 5 additions & 0 deletions test/networks_groups_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ void main() {
expect(SioAssetId.bitcoin, 1);
expect(SioAssetId.bnbSmartChain, 7);
expect(SioAssetId.solana, 3);
expect(SioAssetId.polygon, 16);
});

group('EthNetworks - ', () {
Expand Down Expand Up @@ -107,6 +108,10 @@ void main() {
Networks.assetId(networkId: TWCoinType.TWCoinTypeSolana),
SioAssetId.solana,
);
expect(
Networks.assetId(networkId: TWCoinType.TWCoinTypePolygon),
SioAssetId.polygon,
);

try {
Networks.assetId(networkId: 1212312312312123123);
Expand Down

0 comments on commit 68a4747

Please sign in to comment.