refactor [P-36]: декомпозиция конструктора + адаптация под создания тестов

This commit is contained in:
Denzel committed 2025-03-04 07:56:21 +03:00
commit 7e61b09adb
3 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ WORKDIR /app
RUN npm cache clean --force && npm install @babel/plugin-proposal-unicode-property-regex \ RUN npm cache clean --force && npm install @babel/plugin-proposal-unicode-property-regex \
@babel/preset-env @babel/preset-modules \ @babel/preset-env @babel/preset-modules \
babel-jest @babel/runtime @babel/plugin-transform-runtime babel-jest @babel/runtime @babel/plugin-transform-runtime
WORKDIR /app/documentation WORKDIR /app/documentation
@@ -23,7 +23,7 @@ RUN npm cache clean --force && npm install --prefix ./ vitepress vue-md-parser
COPY ./documentation/babel.config.cjs /app COPY ./documentation/babel.config.cjs /app
WORKDIR /app/src/front/ WORKDIR /app/src/front/
COPY ./src/front/package.json . COPY ./src/front/package.json .
RUN npm cache clean --force && npm install RUN npm cache clean --force && npm install
# Открыть порт для VitePress # Открыть порт для VitePress
FROM node:lts-alpine FROM node:lts-alpine
+4 -4
View File
@@ -572,10 +572,6 @@ export default withMermaid({
"text": "MainmenuStore", "text": "MainmenuStore",
"link": "/src/store/MainmenuStore" "link": "/src/store/MainmenuStore"
}, },
{
"text": "UseAlertStore",
"link": "/src/store/UseAlertStore"
},
{ {
"text": "WeekendsStore", "text": "WeekendsStore",
"link": "/src/store/WeekendsStore" "link": "/src/store/WeekendsStore"
@@ -587,6 +583,10 @@ export default withMermaid({
{ {
"text": "index", "text": "index",
"link": "/src/store/index" "link": "/src/store/index"
},
{
"text": "useAlertStore",
"link": "/src/store/useAlertStore"
} }
] ]
}, },
@@ -1,9 +1,9 @@
# UseAlertStore # useAlertStore
Описание отсутствует. Описание отсутствует.
```js ```js
import * as UseAlertStore from '@/components/store/UseAlertStore'; import * as useAlertStore from '@/components/store/useAlertStore';
``` ```
--- ---