fxa/packages/fortress
dschom 9493dd2655
task(ci): Tag unit tests
Because:
- We want to separate unit tests and integrations tests

This Commit:
- Tags all unit tests, i.e. tests that can run without infrastructure and in a fairly short amount of time, with #unit.
- Adds a test:unit npm command to each package
- Adds a test:integration npm command to each package, and adds '#integration' tags to jest tests since jest has no --invert option like mocha.
2022-12-09 17:26:27 -08:00
..
data chore(styles): fortress and payments ui improvements 2020-06-30 13:35:36 +02:00
static chore(styles): fortress and payments ui improvements 2020-06-30 13:35:36 +02:00
views chore(styles): fortress and payments ui improvements 2020-06-30 13:35:36 +02:00
.eslintrc.json chore(lint): Fix fortress ESLint config 2022-07-13 11:10:12 -07:00
.nsprc fix(deps): Add exception for yargs-parser nsp advisory 1500 2020-05-11 11:40:27 -07:00
.prettierignore refactor(packages): use workspace references 2020-05-21 10:57:21 -07:00
README.md chore(subscriptions): make fortress an upgradable sub 2020-05-07 17:59:44 -05:00
config-local.json refactor(config): replace 127.0.0.1 with localhost 2020-04-15 13:55:42 -07:00
config.js
config.json refactor(config): replace 127.0.0.1 with localhost 2020-04-15 13:55:42 -07:00
package.json task(ci): Tag unit tests 2022-12-09 17:26:27 -08:00
pm2.config.js chore(deps): updated dependencies 2020-06-22 17:11:50 -07:00
server.js chore(subscriptions): make fortress an upgradable sub 2020-05-07 17:59:44 -05:00

README.md

A demo of a subscription flow

Running locally

  1. install git and node
  2. get a local copy of the repository: git clone https://github.com/mozilla/fxa
  3. cd fxa/packages/fortress
  4. install dependencies: npm install
  5. run the server: npm run dev
  6. visit it in your browser: http://localhost:9292/
  7. if you want to develop even faster, open a new terminal window and run npm run ui
  8. now you can go to http://localhost:5000 and develop without having to ever restart the server or refresh the browser

Testing

This package does not currently have a test suite.

Run npm test to lint the code.