Skip to content

Commit

Permalink
fix: AmplitudeCookie should use relative import
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Yiu authored and Tim Yiu committed Oct 25, 2023
1 parent 995449b commit 20843a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/node/src/cookie.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ConsoleLogger } from 'src/util/logger';

import { ExperimentUser } from './types/user';
import { ConsoleLogger } from './util/logger';

/**
* This class provides utility functions for parsing and handling identity
Expand Down
2 changes: 1 addition & 1 deletion packages/node/test/remote/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ExperimentUser } from 'src/types/user';

const API_KEY = 'server-qz35UwzJ5akieoAdIgzM4m9MIiOLXLoz';

const testUser: ExperimentUser = { user_id: 'test_user' };
const testUser: ExperimentUser = { user_id: 'tim.yiu@amplitude.com' };

test('ExperimentClient.fetch, success', async () => {
const client = new RemoteEvaluationClient(API_KEY, {});
Expand Down

0 comments on commit 20843a3

Please sign in to comment.