Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate tests from Mocha to Jest Stage 3. #4

Closed
4 tasks done
gallayl opened this issue Dec 7, 2018 · 0 comments
Closed
4 tasks done

Migrate tests from Mocha to Jest Stage 3. #4

gallayl opened this issue Dec 7, 2018 · 0 comments
Labels
Milestone

Comments

@gallayl
Copy link
Contributor

gallayl commented Dec 7, 2018

  • Clean up Mocha and Chai dependencies
  • Move jest.config to the monorepo root
  • Create a unified test script
  • Clean up per-package test scripts
@gallayl gallayl added the test label Dec 10, 2018
@kultsar kultsar modified the milestones: Sprint 175, Sprint 176 Jan 9, 2019
gallayl added a commit that referenced this issue Jan 9, 2019
* [KFI]feat(project): progress on project skeleton

* [KFI]feat(project): progress on layout, scrolling and zooming

* [KFI]feat(DocumentPage, LayoutAppBar): progress on rotation

* [KFI]refactor(Layout, Page, PageList): extracted PageList from Layout

* [KFI]refactor(Layout, Page, PageList): cleaned up markup and styles, fixed debounce on resize

* [KFI]feat(PageList): optimized rendered pages in DOM

* [KFI]refactor(Page): refactored rotation mechanism from canvas/base64 to css3 transform

* [KFI]feat(Document, PreviewImages): progress on polling pageconunt and unavailable previews

* [KFI]feat(Layout): added Document Actions, refactored zoom / rotate mode change

* [KFI]feat(added font-awesome, modified widget order):

* [KFI]refactor(store): added a root level for sensenet viewer

* [KFI]feat(Page): added PageWidgets, cleaned up Page markup, refactored DocumentWidgets

* [KFI]feat(Drawings page widget): added page widget for displaying / edigint annotations, redactions

* [KFI]feat(Shapes): progress on positioning and resizing

* [KFI]refactor(TypeHelper): added componentType helper to define types from mapped & defined props, r

* [KFI]feat(DocumentData): added Save feature (shapes and rotation info)

* [KFI]feat(Drawings): added tabindex

* [KFI]fix(DocumentViewerLayout): added resize calculation after mount

* [KFI]feat(Redux/PreviewImages): Save changes will clear hasChanges flag

* [KFI]feat(ZoomMode widget): implemented custom zoom levels

* [KFI]feat(Layout): added drawer to thumbnails

* [KFI]refactor(WidgetList): extracted DocumentWidgets and PageWidgets into a WidgetList component

* [KFI]feat(SidebarWidgets): added SidebarWidgets, fixed layout and AppBar z-index

* [KFI]refactor(project): eliminated default exports, organized project structure

* [KFI]feat(DocumentState): added permission check for watermark and redaction, toggle for watermark,r

* [KFI]style(RotatePage): added drop shadow

added drop shadow to icons (fixes visibility on black pages)

* [KFI]docs(Enums/PreviewState): added code comments

* [KFI]refactor(DocumentViewer): moved documentIdOrPath to props

* [KFI]refactor(ShapesWidget): refactored Shapes widget and Shapes components

* [KFI]feat(Shapes): added delete shape feature

* [KFI]feat(Widgets/Pager): implemented pager widget

* [KFI]style(project): fixed linting errors

* [KFI]fix(Pager): fixed undefined value errors

* [KFI]feat(Shapes): update origin on rotation

* [KFI]fix(WidgetList): removed dirtyness checking (fixes shape recalculation on resize)

* [KFI]fix(WidgetList): fixed widget reinitialization on widget changes

* [KFI]feat(Pager): disabled pager buttons on min / max

* [KFI]chore(package): updated typescript from 2.8rc to 2.8.1

* [KFI]fix(DocumentLayout): add/remove resize event listener

* [KFI]fix(Page, PageWidget): pass down zoomRatio prop to widgetList

* [KFI]refactor(widgets): removed inheritance, modified widgets to work with composition via children

* [KFI]fix(Layout): fixed LayoutBar size calculation (now will be dynamic)

* [KFI]feat(DocumentStore): added removeShape reducer

* [KFI]feat(Annotation): text restricted to plain, added update on blur

* [KFI]refactor(PollInterval): moved pollInterval from settings to redux store

* Feature/testing (#2)

* [KFI]test(project): added tests skeleton, viewer context api, docviewer tests

* [KFI]test(ViewerContext): extended example document data

* [KFI]test(DocumentViewer): added test for path change and document fetch error

* [KFI]test(Components): added test skeletons for Layout and AppBar, reorganized DocumentViewer compon

* [KFI]test(Component Tests): added test for Page and PageList, fixed cleaned up LayoutAppBar

* [KFI]test(Component tests): added test skeleton for document widgets

* [KFI]test(ComponentTests): added tests for page widgets

* [KFI]test(added asyncDelay helper for tests):

* [KFI]test(ViewerContext): added async context creator methods

* [KFI]test(added unit tests for pager widget):

* [KFI]test(DocumentWidget): added tests for RotateDocument

* [KFI]test(ComponentTests): added test for zoom mode doc.widget (partial)

* [KFI]test(Component tests for RotatePage, SaveWidget, Shapes):

* [KFI]test(ComponentTests): added tests for toggle watermark/shapes/redaction

* [KFI]test(ComponentTests): added tests for layout, lowered coverage limit to 80%

* [KFI]chore(package): updated dependencies

* [KFI]chore(package): updated dependencies (webpack)

* [KFI]chore(package): updated dependencies (material)

* [KFI]test(component tests): added shape keypress, focus and blur tests

* [KFI]refactor(project): refactored and simplified mapDispatchToProps

* [KFI]test(Shapes): added unit tests for onResize, onDrag

* [KFI]refactor(PageWidgets/Shape): refactored/simplified event handling

* [KFI]ci(travis): added travis.yml

* Feature/localization (#3)

* [KFI]feat(Localization): added localization to store, endpoing on DocViewer, default values

* [KFI]fix(Pager widget): fixed lastPage prop/state mismatch

* [KFI]fix(DocumentViewerErrorTests): added provider to test

* Feature/example app (#4)

* [KFI]refactor(example app): added encoding to site url and id / path

* [KFI]refactor(project): refactored settings, main endpoint, added example component

* [KFI]test(excluded example app component):

* [KFI]build(tslint): disabled completed-docs

* [KFI]feat(ExampleApp): added help dialog

* [KFI]refactor(DocumentViewerComponent): removed unused settings prop

* [KFI]fix(ViewerContext): fixed documentData parameter passing

* [KFI]chore(removed local examples from ExampleApp):

* [KFI]ci(build): added copy webpack plugin, added copy step to webpack build

* Update webpack.config.js

fixed bundle path

* Feature/example app (#5)

* [KFI]refactor(example app): added encoding to site url and id / path

* [KFI]refactor(project): refactored settings, main endpoint, added example component

* [KFI]test(excluded example app component):

* [KFI]build(tslint): disabled completed-docs

* [KFI]feat(ExampleApp): added help dialog

* [KFI]refactor(DocumentViewerComponent): removed unused settings prop

* [KFI]fix(ViewerContext): fixed documentData parameter passing

* [KFI]chore(removed local examples from ExampleApp):

* [KFI]ci(build): added copy webpack plugin, added copy step to webpack build

* [KFI]fix(Store/Document): fixed null shapes

* [KFI]fix(Store/Document): Null shapes fix 2

* [KFI]fix(Store/Document): fixed empty setDocument on start polling

* [KFI]fix(ExampleApp): fixed doc loading

* [KFI]fix(SaveWidget): button disabled on no save permission

* [KFI]fix(Pager): fixed update on external active page change

* [KFI]build(package): reverted react-scroll version

* [KFI]feat(ExampleApp): allowed credentials on fetch requests

* [KFI]chore(fixed form submission warning, modified help text):

* [KFI]fix(Store & DocumentViewer): fixed error mapping on getting available preview images

* [KFI]chore(tslint): enabled completed-docs rule (#6)

* [KFI]chore(tslint): enabled completed-docs rule

* [KFI]docs(Tests/ViewerContext): added typedoc

* [KFI]docs(Tests): added missing test typedocs

* [KFI]refactor(actions): simplified type casts

* [KFI]docs(project): typedoc part 1.

* [KFI]docs(project): typedoc part 2.

* [KFI]chore(DocumentViewerLayout, Page): cleaned up unused code

* [KFI]docs(project): typedoc part 3.

* [KFI]docs(project): typedoc part 4.

* [KFI]fix(project): fixed typo in npm scripts

* [KFI]chore(package): updated dependencies
gallayl added a commit that referenced this issue Jan 9, 2019
* [KFI]refactor(project): refactor to use scoped packages

* [KFI]refactor(GoogleOauthProvider): naming convention fixes

* [KFI]ci(travis): removed nodejs 6 & 7 from build targets

* [KFI]chore(package): update deps, added publish config, cleaned up NPM package contents

* [KFI]chore(package): updated main & typings location, bumped dev version

* [KFI]chore(added GoogleOauthProvider to exports, bumped dev version):

* [KFI]fix(GoogleOauthProvider): added missing credentials flag on fetch call

* chore(package): added prepublish script

* [KFI]chore(package): updated typescript to 2.7.1, fixed strict class initialization

* [KFI]docs(readme): updated example code

* [KFI]chore(package): added prePublishOnly
gallayl pushed a commit that referenced this issue Jan 9, 2019
* chore(package): update dependencies

* docs(readme): add Greenkeeper badge

* Update README.md

added remaining badges
gallayl pushed a commit that referenced this issue Jan 9, 2019
gallayl pushed a commit that referenced this issue Jan 9, 2019
[KFI]fix: Fix react-controls update related stuff
gallayl added a commit that referenced this issue Jan 9, 2019
@gallayl gallayl closed this as completed Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants