Skip to content

Commit f7269a5

Browse files
#58: Update to use single test framework & fix broken test (#60)
* Update to use single test framework & fix broken test
1 parent 225bf67 commit f7269a5

14 files changed

+368
-19750
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,19 +109,27 @@ Install the [dicom-microscopy-viewer](https://www.npmjs.com/package/dicom-micros
109109
npm install dicom-microscopy-viewer
110110
```
111111

112-
## Building and testing
112+
## Building & Testing
113113

114-
Build and test code locally:
114+
Build code locally:
115115

116116
```None
117117
git clone https://github.com/mghcomputationalpathology/dicom-microscopy-viewer ~/dicom-microscopy-viewer
118118
cd ~/dicom-microscopy-viewer
119119
npm install
120120
npm run build
121+
```
122+
123+
test code locally:
124+
125+
```None
126+
git clone https://github.com/mghcomputationalpathology/dicom-microscopy-viewer ~/dicom-microscopy-viewer
127+
cd ~/dicom-microscopy-viewer
128+
npm install
121129
npm test
122130
```
123131

124-
We use [rollup](https://rollupjs.org/guide/en) for bundling and [mochify](https://github.com/mantoni/mochify.js) for testing (based on [mocha](https://mochajs.org/) and [chai](http://www.chaijs.com/)).
132+
We use [rollup](https://rollupjs.org/guide/en) for bundling and [Jest](https://github.com/facebook/jest) for testing.
125133

126134
Build the documentation:
127135

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ <h2>Building and testing</h2>
142142
npm run build
143143
npm test
144144
</code></pre>
145-
<p>We use <a href="https://rollupjs.org/guide/en">rollup</a> for bundling and <a href="https://github.com/mantoni/mochify.js">mochify</a> for testing (based on <a href="https://mochajs.org/">mocha</a> and <a href="http://www.chaijs.com/">chai</a>).</p>
145+
<p>We use <a href="https://rollupjs.org/guide/en">rollup</a> for bundling and <a href="https://github.com/facebook/jest">Jest</a> for testing.</p>
146146
<p>Build the documentation:</p>
147147
<pre class="prettyprint source lang-None"><code>npm run generateDocs
148148
</code></pre>

0 commit comments

Comments
 (0)