Skip to content

Commit

Permalink
test: update test expectations to match new node version (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus authored Oct 16, 2023
1 parent 5447958 commit c133782
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 26 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

## [0.34.4] - 2023-10-16

### Test updates

- Updated tests to make them support the node version 16.3

## [0.34.3] - 2023-09-20

### Test updates
Expand Down
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/ts/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
export const package_version = "0.34.3";
export const package_version = "0.34.4";
4 changes: 2 additions & 2 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-auth-react",
"version": "0.34.3",
"version": "0.34.4",
"description": "ReactJS SDK that provides login functionality with SuperTokens.",
"main": "./index.js",
"engines": {
Expand Down
30 changes: 9 additions & 21 deletions test/end-to-end/emailverification.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,9 @@ describe("SuperTokens Email Verification", function () {
"ST_LOGS SESSION OVERRIDE GET_USER_ID",
"ST_LOGS EMAIL_VERIFICATION OVERRIDE IS_EMAIL_VERIFIED",
"ST_LOGS EMAIL_VERIFICATION PRE_API_HOOKS IS_EMAIL_VERIFIED",
...(accountLinkingSupported
? []
: [
"ST_LOGS SESSION ON_HANDLE_EVENT ACCESS_TOKEN_PAYLOAD_UPDATED",
"ST_LOGS SESSION OVERRIDE GET_USER_ID",
"ST_LOGS SESSION OVERRIDE GET_JWT_PAYLOAD_SECURELY",
]),
"ST_LOGS SESSION ON_HANDLE_EVENT ACCESS_TOKEN_PAYLOAD_UPDATED",
"ST_LOGS SESSION OVERRIDE GET_USER_ID",
"ST_LOGS SESSION OVERRIDE GET_JWT_PAYLOAD_SECURELY",
"ST_LOGS EMAIL_VERIFICATION OVERRIDE SEND_VERIFICATION_EMAIL",
"ST_LOGS EMAIL_VERIFICATION PRE_API_HOOKS SEND_VERIFY_EMAIL",
"ST_LOGS EMAIL_VERIFICATION ON_HANDLE_EVENT VERIFY_EMAIL_SENT",
Expand Down Expand Up @@ -350,13 +346,9 @@ describe("SuperTokens Email Verification", function () {
"ST_LOGS SESSION OVERRIDE GET_USER_ID",
"ST_LOGS EMAIL_VERIFICATION OVERRIDE IS_EMAIL_VERIFIED",
"ST_LOGS EMAIL_VERIFICATION PRE_API_HOOKS IS_EMAIL_VERIFIED",
...(accountLinkingSupported
? []
: [
"ST_LOGS SESSION ON_HANDLE_EVENT ACCESS_TOKEN_PAYLOAD_UPDATED",
"ST_LOGS SESSION OVERRIDE GET_USER_ID",
"ST_LOGS SESSION OVERRIDE GET_JWT_PAYLOAD_SECURELY",
]),
"ST_LOGS SESSION ON_HANDLE_EVENT ACCESS_TOKEN_PAYLOAD_UPDATED",
"ST_LOGS SESSION OVERRIDE GET_USER_ID",
"ST_LOGS SESSION OVERRIDE GET_JWT_PAYLOAD_SECURELY",
"ST_LOGS EMAIL_VERIFICATION OVERRIDE SEND_VERIFICATION_EMAIL",
"ST_LOGS EMAIL_VERIFICATION PRE_API_HOOKS SEND_VERIFY_EMAIL",
"ST_LOGS EMAIL_VERIFICATION ON_HANDLE_EVENT VERIFY_EMAIL_SENT",
Expand Down Expand Up @@ -500,13 +492,9 @@ describe("SuperTokens Email Verification", function () {
"ST_LOGS SESSION OVERRIDE GET_USER_ID",
"ST_LOGS EMAIL_VERIFICATION OVERRIDE IS_EMAIL_VERIFIED",
"ST_LOGS EMAIL_VERIFICATION PRE_API_HOOKS IS_EMAIL_VERIFIED",
...(accountLinkingSupported
? []
: [
"ST_LOGS SESSION ON_HANDLE_EVENT ACCESS_TOKEN_PAYLOAD_UPDATED",
"ST_LOGS SESSION OVERRIDE GET_USER_ID",
"ST_LOGS SESSION OVERRIDE GET_JWT_PAYLOAD_SECURELY",
]),
"ST_LOGS SESSION ON_HANDLE_EVENT ACCESS_TOKEN_PAYLOAD_UPDATED",
"ST_LOGS SESSION OVERRIDE GET_USER_ID",
"ST_LOGS SESSION OVERRIDE GET_JWT_PAYLOAD_SECURELY",
"ST_LOGS EMAIL_VERIFICATION OVERRIDE SEND_VERIFICATION_EMAIL",
"ST_LOGS EMAIL_VERIFICATION PRE_API_HOOKS SEND_VERIFY_EMAIL",
"ST_LOGS EMAIL_VERIFICATION ON_HANDLE_EVENT VERIFY_EMAIL_SENT",
Expand Down

0 comments on commit c133782

Please sign in to comment.