Skip to content

Commit 1a20468

Browse files
committed
try unit test
1 parent c5004b4 commit 1a20468

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
core:
33
# Uses `$SUPERTOKENS_CORE_VERSION` when available, else latest
4-
image: supertokens/supertokens-core:dev-branch-${SUPERTOKENS_CORE_VERSION:-master}
4+
image: supertokens/supertokens-core:dev-branch-${SUPERTOKENS_CORE_VERSION:-10.1}
55
ports:
66
# Uses `$SUPERTOKENS_CORE_PORT` when available, else 3567 for local port
77
- ${SUPERTOKENS_CORE_PORT:-3567}:3567

test/auth-modes.test.js

-2
Original file line numberDiff line numberDiff line change
@@ -440,9 +440,7 @@ describe(`auth-modes: ${printPath("[test/auth-modes.test.js]")}`, function () {
440440
});
441441

442442
it(`should match line ${i + 1} with a expired token`, async () => {
443-
console.log(`should match line ${i + 1} with a expired token: START`);
444443
const connectionURI = await createCoreApplication({ coreConfig: { access_token_validity: 2 } });
445-
console.log(`should match line ${i + 1} with a expired token: DONE`);
446444

447445
SuperTokens.init({
448446
supertokens: {

test/utils.js

-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ module.exports.createCoreApplication = async function ({ appId, coreConfig } = {
233233
if (!coreConfig) {
234234
coreConfig = {};
235235
} else {
236-
console.log("Using provided coreConfig", coreConfig);
237236
}
238237

239238
const createAppResp = await fetch(`${coreUrl}/recipe/multitenancy/app/v2`, {

0 commit comments

Comments
 (0)