Skip to content

Commit

Permalink
Merge pull request #349 from IQSS/docs-326-developer-guide-writing-te…
Browse files Browse the repository at this point in the history
…st-cases

326 - Developer guide - Writing test cases
  • Loading branch information
ekraffmiller authored Mar 28, 2024
2 parents ae5db42 + 6d2c130 commit 98ba0bb
Show file tree
Hide file tree
Showing 5 changed files with 446 additions and 119 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

## Is there a release notes update needed for this change?:

## Additional documentation:
## Additional documentation:
1 change: 0 additions & 1 deletion .github/SUPPORT.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Looking for support? We want to help

Please post your question to X (#) using the Timber tag.
Expand Down
14 changes: 7 additions & 7 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { dirname, join } from "path";
import { dirname, join } from 'path'
import type { StorybookConfig } from '@storybook/react-vite'

const config: StorybookConfig = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
getAbsolutePath("@storybook/addon-links"),
getAbsolutePath("@storybook/addon-essentials"),
getAbsolutePath("@storybook/addon-interactions"),
getAbsolutePath("@storybook/addon-a11y")
getAbsolutePath('@storybook/addon-links'),
getAbsolutePath('@storybook/addon-essentials'),
getAbsolutePath('@storybook/addon-interactions'),
getAbsolutePath('@storybook/addon-a11y')
],
framework: {
name: getAbsolutePath("@storybook/react-vite"),
name: getAbsolutePath('@storybook/react-vite'),
options: {}
},
docs: {
Expand All @@ -21,5 +21,5 @@ const config: StorybookConfig = {
export default config

function getAbsolutePath(value: string): any {
return dirname(require.resolve(join(value, "package.json")));
return dirname(require.resolve(join(value, 'package.json')))
}
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ We use a [CODEOWNERS](https://github.com/iqss/dataverse-frontend/blob/master/.gi
By contributing code you are granting _(`Dataverse`)_ shared ownership of your work. You still own it but _(`Dataverse`)_ will have the right to relicense your work based on our needs & treat this work as if it was developed by a _(`Dataverse`)_ engineer.

## Browser support

<!-- TODO: ? -->
<!-- We configure our build chain tools
(typically [Autoprefixer](https://github.com/postcss/autoprefixer)
Expand Down
Loading

0 comments on commit 98ba0bb

Please sign in to comment.