Skip to content

Commit

Permalink
fix unit test + skip legacy TBC unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
timolegros committed Jan 4, 2024
1 parent 29de06d commit 2157b8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ describe('ServerCommentsController', () => {
).to.be.rejectedWith('Ban error: big ban err');
});

it('should throw error (token balance)', async () => {
it.skip('should throw error (token balance)', async () => {
const sandbox = Sinon.createSandbox();
const db = {
Reaction: {
Expand Down Expand Up @@ -496,7 +496,7 @@ describe('ServerCommentsController', () => {
thread_id: 2,
text: 'Wasup',
version_history: ['{"body":""}'],
chain: 'ethereum',
community_id: 'ethereum',
Address: {
address: '0x123',
community_id: 'ethereum',
Expand Down Expand Up @@ -596,7 +596,7 @@ describe('ServerCommentsController', () => {
thread_id: 2,
text: 'Wasup',
version_history: ['{"body":""}'],
chain: 'ethereum',
community_id: 'ethereum',
Address: {
address: '0x123',
community_id: 'ethereum',
Expand Down Expand Up @@ -662,7 +662,7 @@ describe('ServerCommentsController', () => {
thread_id: 2,
text: 'Wasup',
version_history: ['{"body":""}'],
chain: 'ethereum',
community_id: 'ethereum',
Address: {
address: '0x123',
community_id: 'ethereum',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ describe('ServerThreadsController', () => {
).to.be.rejectedWith('Ban error: big ban err');
});

it('should throw error (token balance)', async () => {
it.skip('should throw error (token balance)', async () => {
const sandbox = Sinon.createSandbox();
const db = {
Reaction: {
Expand Down

0 comments on commit 2157b8b

Please sign in to comment.