Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"presets": [
"next/babel"
],
"plugins": [
"istanbul"
]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

# testing
/coverage
/specs/videos
/.nyc_output

# next.js
/.next/
Expand Down
3 changes: 3 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extension": [".js"]
}
2,079 changes: 2,041 additions & 38 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
"typeface-open-sans": "^1.1.13"
},
"devDependencies": {
"@cypress/code-coverage": "^3.8.5",
"babel-plugin-istanbul": "^6.0.0",
"cypress": "^6.0.0",
"eslint": "^7.12.0",
"eslint-config-airbnb": "^18.2.0",
Expand All @@ -42,7 +44,9 @@
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"istanbul-lib-coverage": "^3.0.0",
"msw": "^0.22.3",
"nyc": "^15.1.0",
"start-server-and-test": "^1.11.6"
}
}
4 changes: 4 additions & 0 deletions specs/plugins/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable global-require */
/// <reference types="cypress" />
// ***********************************************************
// This example plugins/index.js can be used to load plugins
Expand All @@ -19,4 +21,6 @@
module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
require('@cypress/code-coverage/task')(on, config);
return config;
};
Binary file not shown.
2 changes: 2 additions & 0 deletions specs/support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************
// eslint-disable-next-line import/no-extraneous-dependencies
import '@cypress/code-coverage/support';

// Import commands.js using ES2015 syntax:
import './commands';
Expand Down
Binary file removed specs/videos/bridgeapi/users/login.spec.js.mp4
Binary file not shown.
Binary file removed specs/videos/bridgeapi/users/sign_up.spec.js.mp4
Binary file not shown.