Skip to content

Commit 34a9751

Browse files
chore: udpate test
Changed test and deps
1 parent c85bc24 commit 34a9751

7 files changed

Lines changed: 18 additions & 6 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,8 @@ Thumbs.db
4646
.nx
4747
.cursor/rules/nx-rules.mdc
4848
.github/instructions/nx.instructions.md
49+
50+
.cursor\rules\nx-rules.mdc
51+
.github\instructions\nx.instructions.md
52+
53+
.github/instructions/

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"cSpell.words": [
3+
"fontawesome",
34
"Pokedex",
45
"rbtechdev",
56
"Winboxes"
6-
]
7+
],
8+
"nxConsole.generateAiAgentRules": true
79
}

package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"@nx/workspace": "21.1.2",
7777
"@schematics/angular": "18.2.12",
7878
"@stylistic/eslint-plugin": "^4.4.0",
79-
"@types/jest": "29.5.14",
79+
"@types/jest": "^29.5.14",
8080
"@types/node": "22.10.5",
8181
"@types/winbox": "^0.2.6",
8282
"@typescript-eslint/eslint-plugin": "^8.33.0",

packages/angular-winbox/src/lib/winbox.service.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { TestBed } from '@angular/core/testing';
22
import { WinboxService } from './winbox.service';
33
import { Component } from '@angular/core';
4+
import { beforeEach, describe, expect, it, jest } from '@jest/globals';
45

56
const winBoxMockInstance = {
67
show: jest.fn(),

packages/angular-winbox/tsconfig.lib.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
"declaration": true,
66
"declarationMap": true,
77
"inlineSources": true,
8-
"types": []
8+
"types": [],
9+
"composite": true,
910
},
1011
"exclude": [
1112
"src/test-setup.ts",
1213
"**/*.spec.ts",
1314
"**/*.test.ts",
1415
"jest.config.js"
1516
],
16-
"include": ["**/*.ts"]
17+
"include": ["**/*.ts"],
1718
}

packages/angular-winbox/tsconfig.spec.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"compilerOptions": {
44
"outDir": "../../dist/out-tsc",
55
"module": "commonjs",
6-
"types": ["jest", "node"]
6+
"types": ["jest", "node"],
7+
"composite": true,
8+
"declaration": true
79
},
810
"files": ["src/test-setup.ts"],
911
"include": ["**/*.test.ts", "**/*.spec.ts", "**/*.d.ts",

0 commit comments

Comments
 (0)