@tramvai/cli 2.61.1 → 2.61.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/cli",
|
|
3
|
-
"version": "2.61.
|
|
3
|
+
"version": "2.61.2",
|
|
4
4
|
"description": "Cli инструмент для сборки и запуска приложений",
|
|
5
5
|
"files": [
|
|
6
6
|
"src",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@tinkoff/request-plugin-protocol-http": "^0.11.6",
|
|
69
69
|
"@tinkoff/utils": "^2.1.3",
|
|
70
70
|
"@tramvai/build": "3.0.7",
|
|
71
|
-
"@tramvai/react": "2.61.
|
|
71
|
+
"@tramvai/react": "2.61.2",
|
|
72
72
|
"@tramvai/tools-check-versions": "0.4.7",
|
|
73
73
|
"@tramvai/tools-migrate": "0.6.8",
|
|
74
74
|
"ajv": "^6.12.6",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"wrap-ansi": "^7.0.0"
|
|
161
161
|
},
|
|
162
162
|
"devDependencies": {
|
|
163
|
-
"@swc/core": "^1.3.
|
|
163
|
+
"@swc/core": "^1.3.27",
|
|
164
164
|
"@tramvai/tools-generate-schema": "0.1.3",
|
|
165
165
|
"@types/compression": "^1.7.2",
|
|
166
166
|
"@types/express": "^4.17.13",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jest-environment jsdom
|
|
3
|
+
*/
|
|
4
|
+
import { testComponent } from '@tramvai/test-react';
|
|
5
|
+
import { Header } from './Header';
|
|
6
|
+
|
|
7
|
+
it('should render header', () => {
|
|
8
|
+
const { render } = testComponent(<Header />);
|
|
9
|
+
|
|
10
|
+
expect(render.container.innerHTML).toMatchInlineSnapshot(
|
|
11
|
+
`"<header class="Header"><h1>Tramvai <span role="img" aria-label="Salute">🥳</span></h1></header>"`
|
|
12
|
+
);
|
|
13
|
+
});
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"lint": "eslint --ext .ts,.tsx --ignore-path .gitignore ."{{#if isJest}},
|
|
8
8
|
"test": "jest --passWithNoTests",
|
|
9
9
|
"test:watch": "jest --watch",
|
|
10
|
-
"test:integration": "jest -w=3 --config ./jest.integration.config.
|
|
11
|
-
"test:integration:watch": "jest --runInBand --watch --config ./jest.integration.config.
|
|
10
|
+
"test:integration": "jest -w=3 --config ./jest.integration.config.ts",
|
|
11
|
+
"test:integration:watch": "jest --runInBand --watch --config ./jest.integration.config.ts"{{/if}}
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {},
|
|
14
14
|
"dependencies": {},
|