Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesBochet committed Sep 12, 2024
1 parent 51662b1 commit fa27488
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { validate } from 'src/engine/core-modules/environment/environment-variab
import { ConfigurableModuleClass } from 'src/engine/core-modules/environment/environment.module-definition';
import { EnvironmentService } from 'src/engine/core-modules/environment/environment.service';

console.log(process.env);

@Global()
@Module({
imports: [
Expand Down
7 changes: 6 additions & 1 deletion packages/twenty-server/test/calendar-channels.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ describe('calendarChannelsResolver (e2e)', () => {
`,
};

console.log('toto');
console.log(global);

return request(global.app.getHttpServer())
.post('/graphql')
.set('Authorization', `Bearer ${global.accessToken}`)
Expand All @@ -53,7 +56,9 @@ describe('calendarChannelsResolver (e2e)', () => {
expect(calendarchannels).toHaveProperty('syncStatus');
expect(calendarchannels).toHaveProperty('syncStage');
expect(calendarchannels).toHaveProperty('visibility');
expect(calendarchannels).toHaveProperty('isContactAutoCreationEnabled');
expect(calendarchannels).toHaveProperty(
'isContactAutoCreationEnabled',
);
expect(calendarchannels).toHaveProperty('contactAutoCreationPolicy');
expect(calendarchannels).toHaveProperty('isSyncEnabled');
expect(calendarchannels).toHaveProperty('syncCursor');
Expand Down
1 change: 1 addition & 0 deletions packages/twenty-server/test/utils/setup-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { getAccessToken } from './get-access-token';
export default async () => {
console.log('setup-test');
global.app = await createApp({});

global.accessToken = await getAccessToken(global.app);
console.log('setup-test done');
};

0 comments on commit fa27488

Please sign in to comment.