1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

Проверка 09.02.2025

This commit is contained in:
MoonTestUse1
2025-02-09 01:11:49 +06:00
parent ce52f8a23a
commit 0aa3ef8fc2
5827 changed files with 14316 additions and 1906434 deletions

View File

@@ -1,9 +1,9 @@
import { render, screen } from '@testing-library/react';
import { render, screen } from '@testing-library/vue';
import '@testing-library/jest-dom';
import App from './App';
import App from './App.vue';
test('renders app header', () => {
render(<App />);
render(App, { global: { stubs: ['router-view'] } });
const headerElement = screen.getByText(/Employee Request System/i);
expect(headerElement).toBeInTheDocument();
});

View File

@@ -1,5 +1,8 @@
<template>
<router-view></router-view>
<div>
<h1>Employee Request System</h1>
<router-view></router-view>
</div>
</template>
<script setup lang="ts">

View File

@@ -0,0 +1 @@
import '@testing-library/jest-dom';