2
안녕하세요 모두 예전에 좋은 표 그리드의 래퍼 인 테이블 구성 요소를 테스트하려고합니다. 각도 2 ag 그리드에 대한 카르마 테스트 '내보내기가 정의되지 않았습니다.'
나는 또한 내가 테스트 파일의 AG 그리드 구성 요소를 추가'node_modules/ag-grid-ng2/main.js'
karma.conf.js의 경로를 추가 :
import { RgGridComponent } from "../../shared/grid-control/grid-control.component"; import { AgGridNg2 } from 'ag-grid-ng2/main'; ... ... declarations: [TracesTableComponent, RgGridComponent, AgGridNg2],
하지만 테스트를 실행하려고 할 때이 메시지가 " 수출이 정의되지 않았습니다. "
저는 실제로 도움을받을 수 있습니다. 감사!