Skip to content
Snippets Groups Projects
Commit abcbf87a authored by Xiao Gui's avatar Xiao Gui
Browse files

chore: update testing for dropdown component

parent 341c1e25
No related branches found
No related tags found
No related merge requests found
import {} from 'jasmine'
import { TestBed, async } from '@angular/core/testing'
import { DropdownComponent } from './dropdown.component';
import { HoverableBlockDirective } from '../hoverableBlock.directive'
import { RadioList } from '../radiolist/radiolist.component'
import { AngularMaterialModule } from '../../ui/sharedModules/angularMaterial.module'
describe('dropdown component', () => {
it('jasmine works', () => {
......@@ -8,7 +11,14 @@ describe('dropdown component', () => {
})
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations : [ DropdownComponent ]
imports: [
AngularMaterialModule
],
declarations : [
DropdownComponent,
HoverableBlockDirective,
RadioList
]
}).compileComponents()
}))
it('should create component', async(()=>{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment