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

fix: unit tests

maint: update checklist
parent 64f06ec2
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,20 @@
- [ ] v4 are visible
- [ ] on hover, show correct region name(s)
- [ ] whole mesh loads
## Pt Assignments
- [ ] human MNI152 julich brain should work (statistical)
- [ ] rat waxholm v4 should work (labelled)
- [ ] csv can be downloaded
- [ ] big brain & fsaverage *shouldn't* work
## Download atlas
- [ ] human MNI152 julich brain can be downloaded
- [ ] human MNI152 julich brain hoc1 left can be downloaded
- [ ] rat waxholm v4 can be downloaded
## saneURL
- [ ] saneurl generation functions properly
- [ ] try existing key (human), and get unavailable error
......
import { TestBed, fakeAsync, tick, flush, ComponentFixture } from '@angular/core/testing'
import { SaneUrl } from './saneUrl.component'
import { By } from '@angular/platform-browser'
import { BACKENDURL } from 'src/util/constants'
import { NoopAnimationsModule } from '@angular/platform-browser/animations'
import { SaneUrlSvc } from './saneUrl.service'
import { AngularMaterialModule } from 'src/sharedModules'
import { CUSTOM_ELEMENTS_SCHEMA, Directive } from '@angular/core'
import { of, throwError } from 'rxjs'
import { NotFoundError } from '../type'
import { FormsModule } from '@angular/forms'
const inputCss = `input[aria-label="Custom link"]`
const submitCss = `button[aria-label="Create custom link"]`
......@@ -34,6 +34,7 @@ describe('> saneUrl.component.ts', () => {
imports: [
NoopAnimationsModule,
AngularMaterialModule,
FormsModule,
],
providers: [
{
......
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