Skip to content

Commit

Permalink
test: fix testcase with login-2.18 (#250)
Browse files Browse the repository at this point in the history
* test: fix testcase with login-2.18

* test: remove unnecessary skip

* bumps version

---------

Co-authored-by: rishabhpoddar <[email protected]>
  • Loading branch information
porcellus and rishabhpoddar authored Mar 18, 2024
1 parent cde6b98 commit 2b34635
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

## [19.0.1] - 2024-03-18
- Fixes test server

## [19.0.0] - 2024-03-14

### Breaking changes
Expand Down
2 changes: 1 addition & 1 deletion bundle/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/build/version.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/build/version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/ts/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
export const package_version = "19.0.0";
export const package_version = "19.0.1";

export const supported_fdi = ["1.16", "1.17", "1.18", "1.19"];
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "supertokens-website",
"version": "19.0.0",
"version": "19.0.1",
"description": "frontend sdk for website to be used for auth solution.",
"main": "index.js",
"dependencies": {
Expand Down
4 changes: 0 additions & 4 deletions test/accessToken.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,6 @@ describe("access token update", function () {
await page.goto(BASE_URL + "/index.html", { waitUntil: "load" });
await page.addScriptTag({ path: `./bundle/bundle.js`, type: "text/javascript" });

if (v3AccessTokenSupported) {
return;
}

await page.evaluate(async v3AccessTokenSupported => {
let BASE_URL = "http://localhost.org:8080";
supertokens.init({
Expand Down
3 changes: 2 additions & 1 deletion test/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ app.post("/login-2.18", async (req, res) => {
enableAntiCsrf: false,
userDataInJWT: payload,
userDataInDatabase: {}
}
},
{}
);
Querier.apiVersion = undefined;

Expand Down

0 comments on commit 2b34635

Please sign in to comment.