Skip to content

Commit

Permalink
feat(dashboard): Graph and wfRun views (#740)
Browse files Browse the repository at this point in the history
* feat(dashboard): improve search

* feat(dashboard): add time range selector

* feat(dashboard): add graph

* feat(dashboard): expose react flow provider outside the graph

* feat(dashboard): add node run data

* feat(dashboard): wip dagre

* feat(dashboard): add exit node exception

* feat(dashboard): render task details

* test(dashboard): add jest

* feat(dashboard): add NodeDetails to UserTask and ExternalEvent
  • Loading branch information
mijailr authored Apr 12, 2024
1 parent ee56453 commit a15b006
Show file tree
Hide file tree
Showing 56 changed files with 7,390 additions and 1,989 deletions.
18 changes: 18 additions & 0 deletions dashboard-new/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import type { Config } from 'jest'
import nextJest from 'next/jest.js'

const createJestConfig = nextJest({
// Provide the path to your Next.js app to load next.config.js and .env files in your test environment
dir: './',
})

// Add any custom config to be passed to Jest
const config: Config = {
coverageProvider: 'v8',
testEnvironment: 'jsdom',
// Add more setup options before each test is run
// setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
}

// createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async
export default createJestConfig(config)
2 changes: 2 additions & 0 deletions dashboard-new/jest.setup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Learn more: https://github.com/testing-library/jest-dom
import '@testing-library/jest-dom'
Loading

0 comments on commit a15b006

Please sign in to comment.