Skip to content

Commit e224cf3

Browse files
authored
chore: bump test devdependencies (#288)
* chore: bump test devdependencies Signed-off-by: Kevin Viglucci <[email protected]> * chore(ci): GitHub actions use nvmrc file Signed-off-by: Kevin Viglucci <[email protected]> --------- Signed-off-by: Kevin Viglucci <[email protected]>
1 parent 93dbba2 commit e224cf3

File tree

13 files changed

+977
-846
lines changed

13 files changed

+977
-846
lines changed

.github/workflows/build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
uses: actions/checkout@v2
1616

1717
- name: Install Node
18-
uses: actions/setup-node@v2
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: 12
20+
node-version-file: .nvmrc
2121

2222
- name: Install Yarn
2323
run: npm install -g yarn
@@ -47,7 +47,7 @@ jobs:
4747
- name: Install Node
4848
uses: actions/setup-node@v2
4949
with:
50-
node-version: 12
50+
node-version-file: .nvmrc
5151

5252
- name: Install Yarn
5353
run: npm install -g yarn
@@ -77,7 +77,7 @@ jobs:
7777
- name: Install Node
7878
uses: actions/setup-node@v2
7979
with:
80-
node-version: 12
80+
node-version-file: .nvmrc
8181

8282
- name: Install Yarn
8383
run: npm install -g yarn

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install Node
2121
uses: actions/setup-node@v2
2222
with:
23-
node-version: 12
23+
node-version-file: .nvmrc
2424

2525
- name: Install Yarn
2626
run: npm install -g yarn
@@ -50,7 +50,7 @@ jobs:
5050
- name: Install Node
5151
uses: actions/setup-node@v2
5252
with:
53-
node-version: 12
53+
node-version-file: .nvmrc
5454

5555
- name: Install Yarn
5656
run: npm install -g yarn
@@ -84,7 +84,7 @@ jobs:
8484
- name: Install Node
8585
uses: actions/setup-node@v2
8686
with:
87-
node-version: 12
87+
node-version-file: .nvmrc
8888

8989
- name: Install Yarn
9090
run: npm install -g yarn

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
"eslint": "~8.5.0",
2323
"eslint-plugin-import": "~2.25.3",
2424
"eslint-plugin-prettier": "^4.0.0",
25-
"jest": "^27.4.5",
26-
"jest-config": "^27.4.5",
27-
"jest-mock-extended": "^2.0.4",
25+
"jest": "^29.7.0",
26+
"jest-config": "^29.7.0",
27+
"jest-mock-extended": "^3.0.7",
2828
"lerna": "^4.0.0",
2929
"prettier": "^2.5.1",
3030
"sinon": "^12.0.1",
31-
"ts-jest": "^27.1.2",
31+
"ts-jest": "^29.2.5",
3232
"typescript": "~4.5.4"
3333
}
3434
}

packages/rsocket-composite-metadata/__tests__/__snapshots__/encodeWellKnownMetadataHeader.ts.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`encodeWellKnownMetadataHeader encodes the header as per spec 1`] = `
4-
Array [
4+
[
55
133,
66
0,
77
0,

packages/rsocket-composite-metadata/jest.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Config } from "@jest/types";
2-
import { pathsToModuleNameMapper } from "ts-jest/utils";
2+
import { pathsToModuleNameMapper } from "ts-jest";
33
import { compilerOptions } from "../../tsconfig.json";
44

55
const config: Config.InitialOptions = {

packages/rsocket-core/__tests__/__snapshots__/ClientServerMultiplexerDemultiplexer.spec.ts.snap

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`ClientServerMultiplexerDemultiplexer when receiving data when buffer contains a single frame deserializes received frames and calls the configured handler 1`] = `
4-
Object {
5-
"data": Object {
6-
"data": Array [
4+
{
5+
"data": {
6+
"data": [
77
104,
88
101,
99
108,
@@ -23,8 +23,8 @@ Object {
2323
"keepAlive": 60000,
2424
"lifetime": 300000,
2525
"majorVersion": 1,
26-
"metadata": Object {
27-
"data": Array [
26+
"metadata": {
27+
"data": [
2828
104,
2929
101,
3030
108,
@@ -48,10 +48,10 @@ Object {
4848
`;
4949

5050
exports[`ClientServerMultiplexerDemultiplexer when receiving data when buffer contains multiple frames deserializes received frames and calls the configured handler for each frame 1`] = `
51-
Array [
52-
Object {
53-
"data": Object {
54-
"data": Array [
51+
[
52+
{
53+
"data": {
54+
"data": [
5555
104,
5656
101,
5757
108,
@@ -75,10 +75,10 @@ Array [
7575
`;
7676

7777
exports[`ClientServerMultiplexerDemultiplexer when receiving data when buffer contains multiple frames deserializes received frames and calls the configured handler for each frame 2`] = `
78-
Array [
79-
Object {
80-
"data": Object {
81-
"data": Array [
78+
[
79+
{
80+
"data": {
81+
"data": [
8282
104,
8383
101,
8484
108,

packages/rsocket-core/jest.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Config } from "@jest/types";
2-
import { pathsToModuleNameMapper } from "ts-jest/utils";
2+
import { pathsToModuleNameMapper } from "ts-jest";
33
import { compilerOptions } from "../../tsconfig.json";
44

55
const config: Config.InitialOptions = {

packages/rsocket-tcp-client/jest.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Config } from "@jest/types";
2-
import { pathsToModuleNameMapper } from "ts-jest/utils";
2+
import { pathsToModuleNameMapper } from "ts-jest";
33
import { compilerOptions } from "../../tsconfig.json";
44

55
const config: Config.InitialOptions = {

packages/rsocket-tcp-client/src/__tests__/__snapshots__/TcpDuplexConnection.spec.ts.snap

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`TcpDuplexConnection when receiving data when buffer contains a single frame deserializes received frames and calls the configured handler 1`] = `
4-
Object {
5-
"data": Object {
6-
"data": Array [
4+
{
5+
"data": {
6+
"data": [
77
104,
88
101,
99
108,
@@ -23,8 +23,8 @@ Object {
2323
"keepAlive": 60000,
2424
"lifetime": 300000,
2525
"majorVersion": 1,
26-
"metadata": Object {
27-
"data": Array [
26+
"metadata": {
27+
"data": [
2828
104,
2929
101,
3030
108,
@@ -48,10 +48,10 @@ Object {
4848
`;
4949

5050
exports[`TcpDuplexConnection when receiving data when buffer contains multiple frames deserializes received frames and calls the configured handler for each frame 1`] = `
51-
Array [
52-
Object {
53-
"data": Object {
54-
"data": Array [
51+
[
52+
{
53+
"data": {
54+
"data": [
5555
104,
5656
101,
5757
108,
@@ -75,10 +75,10 @@ Array [
7575
`;
7676

7777
exports[`TcpDuplexConnection when receiving data when buffer contains multiple frames deserializes received frames and calls the configured handler for each frame 2`] = `
78-
Array [
79-
Object {
80-
"data": Object {
81-
"data": Array [
78+
[
79+
{
80+
"data": {
81+
"data": [
8282
104,
8383
101,
8484
108,

packages/rsocket-tcp-server/jest.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Config } from "@jest/types";
2-
import { pathsToModuleNameMapper } from "ts-jest/utils";
2+
import { pathsToModuleNameMapper } from "ts-jest";
33
import { compilerOptions } from "../../tsconfig.json";
44

55
const config: Config.InitialOptions = {

packages/rsocket-websocket-client/jest.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Config } from "@jest/types";
2-
import { pathsToModuleNameMapper } from "ts-jest/utils";
2+
import { pathsToModuleNameMapper } from "ts-jest";
33
import { compilerOptions } from "../../tsconfig.json";
44

55
const config: Config.InitialOptions = {

packages/rsocket-websocket-client/src/__tests__/__snapshots__/WebsocketDuplexConnection.spec.ts.snap

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`WebsocketDuplexConnection when receiving data when buffer contains a single frame deserializes received frames and calls the configured handler 1`] = `
4-
Object {
5-
"data": Object {
6-
"data": Array [
4+
{
5+
"data": {
6+
"data": [
77
104,
88
101,
99
108,
@@ -23,8 +23,8 @@ Object {
2323
"keepAlive": 60000,
2424
"lifetime": 300000,
2525
"majorVersion": 1,
26-
"metadata": Object {
27-
"data": Array [
26+
"metadata": {
27+
"data": [
2828
104,
2929
101,
3030
108,

0 commit comments

Comments
 (0)