-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #307 from SharebookBR/release
Release
- Loading branch information
Showing
68 changed files
with
1,563 additions
and
975 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,6 @@ testem.log | |
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# developer scripts | ||
sandbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"singleQuote": true | ||
"singleQuote": true, | ||
"printWidth": 120 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
version: '3.7' | ||
|
||
services: | ||
example: | ||
sharebook: | ||
container_name: sharebook-frontend-dev | ||
build: | ||
context: . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This configuration was used SourceLevel to review the SharebookBR/sharebook-frontend repository | ||
# on 939db40cf82641f3a9aa91f5d3cec9f97c2d5cbb. | ||
# You can make this the default configuration for future reviews by moving this | ||
# file to your repository as `.sourcelevel.yml` and pushing it to GitHub, and tweak | ||
# it as you wish - To know more on how to change this file to better review your | ||
# repository you can go to https://docs.sourcelevel.io/configuration and see the configuration | ||
# details. | ||
--- | ||
styleguide: sourcelevel/linters | ||
engines: | ||
fixme: | ||
enabled: true | ||
eslint: | ||
enabled: true | ||
csslint: | ||
enabled: true | ||
sass-lint: | ||
enabled: true | ||
remark-lint: | ||
enabled: true | ||
exclude_paths: [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,29 @@ | ||
import { HttpClientTestingModule } from '@angular/common/http/testing'; | ||
import { TestBed, async } from '@angular/core/testing'; | ||
import {RouterTestingModule} from '@angular/router/testing'; | ||
import { HttpClient, HttpHandler } from '@angular/common/http'; | ||
import { RouterTestingModule } from '@angular/router/testing'; | ||
import { AppConfigModule } from './app-config.module'; | ||
|
||
import { AppComponent } from './app.component'; | ||
import { HeaderComponent } from './components/header/header.component'; | ||
import { AlertComponent } from './core/directives/alert/alert.component'; | ||
import { FooterComponent } from './components/footer/footer.component'; | ||
|
||
import { UserService } from './core/services/user/user.service'; | ||
import { AuthenticationService } from './core/services/authentication/authentication.service'; | ||
import { AlertService } from './core/services/alert/alert.service'; | ||
import { NO_ERRORS_SCHEMA } from '@angular/core'; | ||
|
||
describe('AppComponent', () => { | ||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [ | ||
AppComponent, | ||
HeaderComponent, | ||
AlertComponent, | ||
FooterComponent | ||
], | ||
imports: [ | ||
RouterTestingModule, | ||
AppConfigModule | ||
], | ||
providers: [ | ||
UserService, | ||
AuthenticationService, | ||
|
||
HttpClient, | ||
HttpHandler | ||
] | ||
declarations: [AppComponent, HeaderComponent, FooterComponent], | ||
schemas: [NO_ERRORS_SCHEMA], | ||
imports: [RouterTestingModule, AppConfigModule, HttpClientTestingModule], | ||
providers: [UserService, AuthenticationService], | ||
}).compileComponents(); | ||
})); | ||
|
||
it('should create the app', async(() => { | ||
const fixture = TestBed.createComponent(AppComponent); | ||
const app = fixture.debugElement.componentInstance; | ||
expect(app).toBeTruthy(); | ||
})); | ||
/*it(`should have as title 'app'`, async(() => { | ||
const fixture = TestBed.createComponent(AppComponent); | ||
const app = fixture.debugElement.componentInstance; | ||
expect(app.title).toEqual('app'); | ||
})); | ||
it('should render title in a h1 tag', async(() => { | ||
const fixture = TestBed.createComponent(AppComponent); | ||
fixture.detectChanges(); | ||
const compiled = fixture.debugElement.nativeElement; | ||
expect(compiled.querySelector('h1').textContent).toContain('Welcome to angular!'); | ||
}));*/ | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.