Skip to content

Commit

Permalink
Merge branch 'develop' into feat/#60-create-sidebar-navigation
Browse files Browse the repository at this point in the history
Signed-off-by: njochens <62465088+njochens@users.noreply.github.com>
  • Loading branch information
njochens authored Jun 13, 2023
2 parents 27046f0 + 816d31e commit 3a8cb77
Show file tree
Hide file tree
Showing 5 changed files with 6,336 additions and 2,952 deletions.
4 changes: 4 additions & 0 deletions Explorer/__tests__/sum.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* eslint-disable */
test("adds 1 + 2 to equal 3", () => {
expect(1 + 2).toBe(3);
});
18 changes: 18 additions & 0 deletions Explorer/jest.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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
/** @type {import('jest').Config} */
const config = {
// Add more setup options before each test is run
// setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],

testEnvironment: 'jest-environment-jsdom',
}

// createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async
export default createJestConfig(config)
Loading

0 comments on commit 3a8cb77

Please sign in to comment.