Skip to content

Commit

Permalink
fix(client-cognito-identity): import client from new location in src (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Oct 1, 2021
1 parent 980e1a2 commit c8cb449
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
* in NodeJS, Chromium and Firefox. This test is written in mocha.
*/
import { expect } from "chai";
import { CognitoIdentity } from "../index";

import { CognitoIdentity } from "../../src/index";
// There will be default values of defaultRegion, credentials, and isBrowser variable in browser tests.
// Define the values for Node.js tests
const region: string | undefined = (globalThis as any).defaultRegion || process?.env?.AWS_SMOKE_TEST_REGION;
Expand Down

0 comments on commit c8cb449

Please sign in to comment.