Skip to content

Commit

Permalink
chore: bump test devdependencies (#288)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
viglucci authored Jan 2, 2025
1 parent 93dbba2 commit e224cf3
Show file tree
Hide file tree
Showing 13 changed files with 977 additions and 846 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
uses: actions/checkout@v2

- name: Install Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 12
node-version-file: .nvmrc

- name: Install Yarn
run: npm install -g yarn
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: 12
node-version-file: .nvmrc

- name: Install Yarn
run: npm install -g yarn
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: 12
node-version-file: .nvmrc

- name: Install Yarn
run: npm install -g yarn
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: 12
node-version-file: .nvmrc

- name: Install Yarn
run: npm install -g yarn
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: 12
node-version-file: .nvmrc

- name: Install Yarn
run: npm install -g yarn
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: 12
node-version-file: .nvmrc

- name: Install Yarn
run: npm install -g yarn
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"eslint": "~8.5.0",
"eslint-plugin-import": "~2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.4.5",
"jest-config": "^27.4.5",
"jest-mock-extended": "^2.0.4",
"jest": "^29.7.0",
"jest-config": "^29.7.0",
"jest-mock-extended": "^3.0.7",
"lerna": "^4.0.0",
"prettier": "^2.5.1",
"sinon": "^12.0.1",
"ts-jest": "^27.1.2",
"ts-jest": "^29.2.5",
"typescript": "~4.5.4"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`encodeWellKnownMetadataHeader encodes the header as per spec 1`] = `
Array [
[
133,
0,
0,
Expand Down
2 changes: 1 addition & 1 deletion packages/rsocket-composite-metadata/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Config } from "@jest/types";
import { pathsToModuleNameMapper } from "ts-jest/utils";
import { pathsToModuleNameMapper } from "ts-jest";
import { compilerOptions } from "../../tsconfig.json";

const config: Config.InitialOptions = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`ClientServerMultiplexerDemultiplexer when receiving data when buffer contains a single frame deserializes received frames and calls the configured handler 1`] = `
Object {
"data": Object {
"data": Array [
{
"data": {
"data": [
104,
101,
108,
Expand All @@ -23,8 +23,8 @@ Object {
"keepAlive": 60000,
"lifetime": 300000,
"majorVersion": 1,
"metadata": Object {
"data": Array [
"metadata": {
"data": [
104,
101,
108,
Expand All @@ -48,10 +48,10 @@ Object {
`;

exports[`ClientServerMultiplexerDemultiplexer when receiving data when buffer contains multiple frames deserializes received frames and calls the configured handler for each frame 1`] = `
Array [
Object {
"data": Object {
"data": Array [
[
{
"data": {
"data": [
104,
101,
108,
Expand All @@ -75,10 +75,10 @@ Array [
`;

exports[`ClientServerMultiplexerDemultiplexer when receiving data when buffer contains multiple frames deserializes received frames and calls the configured handler for each frame 2`] = `
Array [
Object {
"data": Object {
"data": Array [
[
{
"data": {
"data": [
104,
101,
108,
Expand Down
2 changes: 1 addition & 1 deletion packages/rsocket-core/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Config } from "@jest/types";
import { pathsToModuleNameMapper } from "ts-jest/utils";
import { pathsToModuleNameMapper } from "ts-jest";
import { compilerOptions } from "../../tsconfig.json";

const config: Config.InitialOptions = {
Expand Down
2 changes: 1 addition & 1 deletion packages/rsocket-tcp-client/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Config } from "@jest/types";
import { pathsToModuleNameMapper } from "ts-jest/utils";
import { pathsToModuleNameMapper } from "ts-jest";
import { compilerOptions } from "../../tsconfig.json";

const config: Config.InitialOptions = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`TcpDuplexConnection when receiving data when buffer contains a single frame deserializes received frames and calls the configured handler 1`] = `
Object {
"data": Object {
"data": Array [
{
"data": {
"data": [
104,
101,
108,
Expand All @@ -23,8 +23,8 @@ Object {
"keepAlive": 60000,
"lifetime": 300000,
"majorVersion": 1,
"metadata": Object {
"data": Array [
"metadata": {
"data": [
104,
101,
108,
Expand All @@ -48,10 +48,10 @@ Object {
`;

exports[`TcpDuplexConnection when receiving data when buffer contains multiple frames deserializes received frames and calls the configured handler for each frame 1`] = `
Array [
Object {
"data": Object {
"data": Array [
[
{
"data": {
"data": [
104,
101,
108,
Expand All @@ -75,10 +75,10 @@ Array [
`;

exports[`TcpDuplexConnection when receiving data when buffer contains multiple frames deserializes received frames and calls the configured handler for each frame 2`] = `
Array [
Object {
"data": Object {
"data": Array [
[
{
"data": {
"data": [
104,
101,
108,
Expand Down
2 changes: 1 addition & 1 deletion packages/rsocket-tcp-server/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Config } from "@jest/types";
import { pathsToModuleNameMapper } from "ts-jest/utils";
import { pathsToModuleNameMapper } from "ts-jest";
import { compilerOptions } from "../../tsconfig.json";

const config: Config.InitialOptions = {
Expand Down
2 changes: 1 addition & 1 deletion packages/rsocket-websocket-client/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Config } from "@jest/types";
import { pathsToModuleNameMapper } from "ts-jest/utils";
import { pathsToModuleNameMapper } from "ts-jest";
import { compilerOptions } from "../../tsconfig.json";

const config: Config.InitialOptions = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`WebsocketDuplexConnection when receiving data when buffer contains a single frame deserializes received frames and calls the configured handler 1`] = `
Object {
"data": Object {
"data": Array [
{
"data": {
"data": [
104,
101,
108,
Expand All @@ -23,8 +23,8 @@ Object {
"keepAlive": 60000,
"lifetime": 300000,
"majorVersion": 1,
"metadata": Object {
"data": Array [
"metadata": {
"data": [
104,
101,
108,
Expand Down
Loading

0 comments on commit e224cf3

Please sign in to comment.