Skip to content

Commit

Permalink
fix: remaining tests
Browse files Browse the repository at this point in the history
  • Loading branch information
siepra committed Nov 9, 2023
1 parent 46fda7f commit f766f97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('launchCommunity', () => {
factory = await getFactory(store)
})

test.skip('launch all remembered communities', async () => {
test('launch all remembered communities', async () => {
const community1 =
await factory.create<ReturnType<typeof communitiesActions.addNewCommunity>['payload']>('Community')
await factory.create<ReturnType<typeof identityActions.addNewIdentity>['payload']>('Identity', {
Expand Down Expand Up @@ -182,7 +182,7 @@ describe('launchCommunity', () => {
.run()
})

test.skip('do not launch current community if it does not have rootCa', async () => {
test('do not launch current community if it does not have rootCa', async () => {
const socket = { emit: jest.fn(), on: jest.fn() } as unknown as Socket

const community =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('sendInitialChannelMessageSaga', () => {
factory = await getFactory(store)
})

test.skip('send new user info message', async () => {
test('send new user info message', async () => {
const community1 =
await factory.create<ReturnType<typeof communitiesActions.addNewCommunity>['payload']>('Community')
user = await factory.create<ReturnType<typeof identityActions.addNewIdentity>['payload']>('Identity', {
Expand Down Expand Up @@ -76,7 +76,7 @@ describe('sendInitialChannelMessageSaga', () => {
.run()
})

test.skip('dont send new user info if user exists', async () => {
test('dont send new user info if user exists', async () => {
const community1 =
await factory.create<ReturnType<typeof communitiesActions.addNewCommunity>['payload']>('Community')
user = await factory.create<ReturnType<typeof identityActions.addNewIdentity>['payload']>('Identity', {
Expand Down Expand Up @@ -114,7 +114,7 @@ describe('sendInitialChannelMessageSaga', () => {
.run()
})

test.skip('dont send new user info message if owner', async () => {
test('dont send new user info message if owner', async () => {
const community1 =
await factory.create<ReturnType<typeof communitiesActions.addNewCommunity>['payload']>('Community')
user = await factory.create<ReturnType<typeof identityActions.addNewIdentity>['payload']>('Identity', {
Expand All @@ -141,7 +141,7 @@ describe('sendInitialChannelMessageSaga', () => {
.run()
})

test.skip('remove possible duplicates before sending info message', async () => {
test('remove possible duplicates before sending info message', async () => {
const community1 =
await factory.create<ReturnType<typeof communitiesActions.addNewCommunity>['payload']>('Community')
user = await factory.create<ReturnType<typeof identityActions.addNewIdentity>['payload']>('Identity', {
Expand Down

0 comments on commit f766f97

Please sign in to comment.