Skip to content

Commit

Permalink
chore: goff test env correction (#672)
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert authored Dec 6, 2023
1 parent 0d81ce2 commit 725baf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions libs/providers/go-feature-flag/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ export default {
},
moduleFileExtensions: ['ts', 'js', 'html'],
coverageDirectory: '../../../coverage/libs/providers/go-feature-flag',
testEnvironment: 'node',
};
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class GoFeatureFlagDataCollectorHook implements Hook {
// bgSchedulerId contains the id of the setInterval that is running.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
private bgScheduler?: NodeJS.Timer;
private bgScheduler?: ReturnType<setInterval>;

// dataCollectorBuffer contains all the FeatureEvents that we need to send to the relay-proxy for data collection.
private dataCollectorBuffer?: FeatureEvent<any>[];
Expand Down

0 comments on commit 725baf3

Please sign in to comment.