Skip to content

Commit 7d4c38e

Browse files
authored
Merge pull request #40 from oslabs-beta/staging
Merging PR #39 from Staging to Main
2 parents bbc2c29 + 804c375 commit 7d4c38e

File tree

5 files changed

+16
-69
lines changed

5 files changed

+16
-69
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "Spearmint",
3-
"version": "2.0.0",
4-
"description": "Spearmint",
2+
"name": "spearmint",
3+
"version": "0.5.0",
4+
"description": "An open-source developer tool that simplifies testing and hopes to help increase awareness about web accessibility.",
55
"author": "spearmintjs",
66
"build": {
77
"appId": "com.spearmint",
@@ -43,16 +43,16 @@
4343
"wait-on": "^3.3.0"
4444
},
4545
"scripts": {
46-
"react-start": "react-scripts start",
47-
"react-build": "NODE_ENV=production react-scripts build",
4846
"test": "react-scripts test --env=jsdom",
4947
"test:e2e": "./node_modules/mocha/bin/mocha src/__tests__/spec.e2e.js",
5048
"test:integra": "mocha src/__tests__/spec.integra.js",
5149
"test:watch": "jest --watch",
50+
"react-start": "react-scripts start",
5251
"react-eject": "react-scripts eject",
52+
"build": "NODE_ENV=production npm run react-build && npm run electron-build",
53+
"react-build": "NODE_ENV=production react-scripts build",
5354
"electron-build": "NODE_ENV=production electron-builder -mwl",
5455
"release": "npm run react-build && electron-builder --publish=always",
55-
"build": "NODE_ENV=production npm run react-build && npm run electron-build",
5656
"start-windows": "SET NODE_ENV=development concurrently \"cross-env BROWSER=none npm run react-start\" \"wait-on http://localhost:3000 && electron .\"",
5757
"start": "NODE_ENV=development concurrently \"cross-env BROWSER=none npm run react-start\" \"wait-on http://localhost:3000 && electron .\""
5858
},
147 KB
Loading

src/components/TestCase/AccTestStatements.tsx

Lines changed: 0 additions & 52 deletions
This file was deleted.

src/context/actions/accTestCaseActions.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ export const actionTypes = {
2020
UPDATE_FILE_PATH: 'UPDATE_FILE_PATH',
2121
UPDATE_TEST_TYPE: 'UPDATE_TEST_TYPE',
2222
CREATE_PUPPETEER_URL: 'CREATE_PUPPETEER_URL',
23-
24-
TOGGLE_ACC: 'TOGGLE_ACC',
2523
};
2624

2725
/* --------------------------------- Actions -------------------------------- */

src/pages/About/About.tsx

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Action } from '../../utils/endpointTypes';
55

66
const image1 = require('../../assets/images/newReact.png');
77
const image2 = require('../../assets/images/testfile.png');
8+
const image3 = require('../../assets/images/spearmintHomepage.png');
89

910
const About = ({ dispatch: dispatchToGlobal }: { dispatch: (action: Action) => void }) => {
1011
const handleChangeBack = () => {
@@ -17,11 +18,11 @@ const About = ({ dispatch: dispatchToGlobal }: { dispatch: (action: Action) => v
1718
<p>
1819
<img
1920
src='https://camo.githubusercontent.com/041cc375aaaec3fac464f67eb7e154f738485d47/68747470733a2f2f6c68352e676f6f676c6575736572636f6e74656e742e636f6d2f35477232645a58484a646d49694153735077397075742d366d52323065346731674f6b2d6166346b725245614a374e716b5a6e71584c44355167696f74664e48596847526833383748537164686a52777864774f76517a67394368686649725a7a30466478567536676b744274472d7379314d583658713336476d727a755f36475f4b374c44515a'
20-
alt=''
21+
alt='spearmint logo'
2122
/>
2223
</p>
2324
<p>
24-
Spearmint helps developers easily create functional React/Redux/Endpoint/Paint Timing
25+
Spearmint helps developers easily create functional React/Redux/Endpoint/Paint Timing/Accessibility
2526
tests without writing any code. It dynamically converts user inputs into executable Jest
2627
test code by using DOM query selectors provided by @testing-library.
2728
</p>
@@ -61,8 +62,8 @@ const About = ({ dispatch: dispatchToGlobal }: { dispatch: (action: Action) => v
6162
<pre>
6263
<code>npm i -D jest puppeteer</code>
6364
</pre>
64-
65-
65+
66+
6667
<p>
6768
To run Accessibility tests generated by spearmint on HTML, install the following in your dev dependencies.
6869
</p>
@@ -94,8 +95,8 @@ const About = ({ dispatch: dispatchToGlobal }: { dispatch: (action: Action) => v
9495
</ol>
9596
<p>
9697
<img
97-
src='https://camo.githubusercontent.com/d3df988babfaac9eb93864d7d727d3e616f8bb22/68747470733a2f2f6c68342e676f6f676c6575736572636f6e74656e742e636f6d2f434146706f656652555578674e6f737564517563376761625352654669495f70755a5f57546a727a55537a423670674f5564513162616246326d784a716c326c433854512d6a6a564c4f674735516b6138535566463266692d7532483978535037725a5f305564706a2d49534650415930323855594b49555a63674f41706e6970565a7745377868'
98-
alt=''
98+
src={image3}
99+
alt="Spearmint electron app's homepage"
99100
/>
100101
</p>
101102
<ol start={2}>
@@ -107,7 +108,7 @@ const About = ({ dispatch: dispatchToGlobal }: { dispatch: (action: Action) => v
107108
</li>
108109
</ol>
109110
<p>
110-
<img src={image1} alt='' />
111+
<img src={image1} alt='React test generation page' />
111112
</p>
112113
<ol start={3}>
113114
<li>
@@ -126,12 +127,12 @@ const About = ({ dispatch: dispatchToGlobal }: { dispatch: (action: Action) => v
126127
</li>
127128
</ol>
128129
<p>
129-
<img src={image2} alt='' />
130+
<img src={image2} alt='Puppeteer test generation page' />
130131
</p>
131132
<h2>The Spearmint Team</h2>
132133
<blockquote>
133134
<p>
134-
Alfred <a href='https://github.com/astaiglesia'>@staiglesia</a>  ·  Annie{' '}
135+
Alfred <a href='https://github.com/astaiglesia'>@astaiglesia</a>  ·  Annie{' '}
135136
<a href='https://github.com/annieshinn'>@annieshinn</a>  ·  Gabriel{' '}
136137
<a href='https://github.com/bielchristo'>@bielchristo</a>  ·  Sharon{' '}
137138
<a href='https://github.com/sharon-zhu'>@sharon-zhu</a>  ·  Tolan{' '}

0 commit comments

Comments
 (0)