diff --git a/src/app/possible-score/possible-score.component.html b/src/app/possible-score/possible-score.component.html index d40d581dc93..1112ec0ad97 100644 --- a/src/app/possible-score/possible-score.component.html +++ b/src/app/possible-score/possible-score.component.html @@ -1,9 +1,7 @@ @if (maxScore > 0 && !hidePossibleScores) { - - @if (maxScore === 1) { - ({{ maxScore }} point) - } @else { - ({{ maxScore }} points) - } - + @if (maxScore === 1) { + {{ maxScore }} point + } @else { + {{ maxScore }} points + } } diff --git a/src/app/services/graphService.spec.ts b/src/app/services/graphService.spec.ts index 943cb4cb16d..010922f45c8 100644 --- a/src/app/services/graphService.spec.ts +++ b/src/app/services/graphService.spec.ts @@ -16,8 +16,8 @@ let service: GraphService; describe('GraphService', () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [], - providers: [ + imports: [], + providers: [ AnnotationService, ConfigService, GraphService, @@ -27,8 +27,8 @@ describe('GraphService', () => { TagService, provideHttpClient(withInterceptorsFromDi()), provideHttpClientTesting() - ] -}); + ] + }); service = TestBed.inject(GraphService); http = TestBed.inject(HttpTestingController); spyOn(TestBed.inject(ConfigService), 'getRunId').and.returnValue(runId); @@ -111,7 +111,7 @@ function createComponent() { it('should create a graph component', () => { const component = service.createComponent(); expect(component.type).toEqual('Graph'); - expect(component.title).toEqual(''); + expect(component.graphTitle).toEqual(''); expect(component.width).toEqual(800); expect(component.height).toEqual(500); expect(component.enableTrials).toEqual(false); @@ -508,17 +508,14 @@ function getClassmateStudentWork() { .flush([]); }); - it( - 'should get classmate student work from class', - waitForAsync(() => { - service - .getClassmateStudentWork(nodeId2, componentId2, periodId, nodeId1, componentId1, 'class') - .subscribe(); - http - .expectOne( - `/api/classmate/graph/student-work/${runId}/${nodeId2}/${componentId2}/${nodeId1}/${componentId1}/class` - ) - .flush([]); - }) - ); + it('should get classmate student work from class', waitForAsync(() => { + service + .getClassmateStudentWork(nodeId2, componentId2, periodId, nodeId1, componentId1, 'class') + .subscribe(); + http + .expectOne( + `/api/classmate/graph/student-work/${runId}/${nodeId2}/${componentId2}/${nodeId1}/${componentId1}/class` + ) + .flush([]); + })); } diff --git a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/node-grading/node-grading.component.html b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/node-grading/node-grading.component.html index 07e2eee7b0e..11982f4f623 100644 --- a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/node-grading/node-grading.component.html +++ b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/node-grading/node-grading.component.html @@ -1,5 +1,5 @@