Преглед на файлове

[add]

検索ページを追加
poohr преди 3 седмици
родител
ревизия
320d6e65a0
променени са 4 файла, в които са добавени 32 реда и са изтрити 0 реда
  1. 1
    0
      src/app/pages/search/search.html
  2. 0
    0
      src/app/pages/search/search.scss
  3. 22
    0
      src/app/pages/search/search.spec.ts
  4. 9
    0
      src/app/pages/search/search.ts

+ 1
- 0
src/app/pages/search/search.html Целия файл

@@ -0,0 +1 @@
1
+<p>search works!</p>

+ 0
- 0
src/app/pages/search/search.scss Целия файл


+ 22
- 0
src/app/pages/search/search.spec.ts Целия файл

@@ -0,0 +1,22 @@
1
+import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+import { Search } from './search';
4
+
5
+describe('Search', () => {
6
+  let component: Search;
7
+  let fixture: ComponentFixture<Search>;
8
+
9
+  beforeEach(async () => {
10
+    await TestBed.configureTestingModule({
11
+      imports: [Search],
12
+    }).compileComponents();
13
+
14
+    fixture = TestBed.createComponent(Search);
15
+    component = fixture.componentInstance;
16
+    await fixture.whenStable();
17
+  });
18
+
19
+  it('should create', () => {
20
+    expect(component).toBeTruthy();
21
+  });
22
+});

+ 9
- 0
src/app/pages/search/search.ts Целия файл

@@ -0,0 +1,9 @@
1
+import { Component } from '@angular/core';
2
+
3
+@Component({
4
+  selector: 'app-search',
5
+  imports: [],
6
+  templateUrl: './search.html',
7
+  styleUrl: './search.scss',
8
+})
9
+export class Search {}

Loading…
Отказ
Запис