4aae981699
This shows the entire assertion that’s failing. This is especially useful in combination with page objects. For an assertion like this: assert.equal(PageLayout.flashMessages.length, 1) The failure displayed normally is just “failed” with the expected of 1 and the result of undefined. With this addon, the expected and result remain the same, but “failed” is replaced with the text of the assertion. The typical way to address this is to supply the optional final argument to the assertion function that customises the failure message. That still works with this addon, but most of the time it becomes unnecessary.
108 lines
3.1 KiB
JSON
108 lines
3.1 KiB
JSON
{
|
|
"name": "nomad-ui",
|
|
"version": "0.0.0",
|
|
"description": "The web ui for Nomad, by HashiCorp.",
|
|
"repository": "",
|
|
"directories": {
|
|
"doc": "doc",
|
|
"test": "tests"
|
|
},
|
|
"scripts": {
|
|
"build": "./node_modules/ember-cli/bin/ember build -prod",
|
|
"precommit": "lint-staged",
|
|
"lint:hbs": "ember-template-lint .",
|
|
"lint:js": "eslint .",
|
|
"start": "./node_modules/ember-cli/bin/ember server",
|
|
"test": "./node_modules/ember-cli/bin/ember test"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"{app,tests,config,lib,mirage}/**/*.js": ["prettier --write", "git add"],
|
|
"app/styles/**/*.*": ["prettier --write", "git add"]
|
|
},
|
|
"devDependencies": {
|
|
"anser": "^1.4.8",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.4.3",
|
|
"@ember/jquery": "^0.6.0",
|
|
"@ember/optional-features": "^0.7.0",
|
|
"broccoli-asset-rev": "^3.0.0",
|
|
"bulma": "0.6.1",
|
|
"core-js": "^2.4.1",
|
|
"d3-array": "^1.2.0",
|
|
"d3-axis": "^1.0.0",
|
|
"d3-format": "^1.3.0",
|
|
"d3-scale": "^1.0.0",
|
|
"d3-selection": "^1.1.0",
|
|
"d3-shape": "^1.2.0",
|
|
"d3-time-format": "^2.1.0",
|
|
"d3-transition": "^1.1.0",
|
|
"ember-ajax": "^5.0.0",
|
|
"ember-auto-import": "^1.2.21",
|
|
"ember-cli": "~3.4.4",
|
|
"ember-cli-babel": "^7.1.2",
|
|
"ember-cli-dependency-checker": "^3.0.0",
|
|
"ember-cli-deprecation-workflow": "^1.0.1",
|
|
"ember-cli-eslint": "^5.1.0",
|
|
"ember-cli-funnel": "^0.6.1",
|
|
"ember-cli-htmlbars": "^3.0.0",
|
|
"ember-cli-htmlbars-inline-precompile": "^1.0.3",
|
|
"ember-cli-inject-live-reload": "^2.0.1",
|
|
"ember-cli-mirage": "^0.4.3",
|
|
"ember-cli-moment-shim": "^3.5.0",
|
|
"ember-cli-page-object": "^1.15.1",
|
|
"ember-cli-qunit": "^4.3.2",
|
|
"ember-cli-sass": "^10.0.0",
|
|
"ember-cli-sri": "^2.1.1",
|
|
"ember-cli-string-helpers": "^1.5.0",
|
|
"ember-cli-template-lint": "^1.0.0-beta.1",
|
|
"ember-cli-uglify": "^2.1.0",
|
|
"ember-composable-helpers": "^2.0.3",
|
|
"ember-concurrency": "^0.9.0",
|
|
"ember-copy": "^1.0.0",
|
|
"ember-data": "~3.4.0",
|
|
"ember-data-model-fragments": "3.3.0",
|
|
"ember-export-application-global": "^2.0.0",
|
|
"ember-fetch": "^6.5.0",
|
|
"ember-freestyle": "~0.10.0",
|
|
"ember-inflector": "^3.0.0",
|
|
"ember-inline-svg": "^0.2.1",
|
|
"ember-load-initializers": "^1.1.0",
|
|
"ember-maybe-import-regenerator": "^0.1.6",
|
|
"ember-moment": "^7.8.1",
|
|
"ember-native-dom-helpers": "^0.5.4",
|
|
"ember-power-select": "^2.2.3",
|
|
"ember-qunit-nice-errors": "^1.2.0",
|
|
"ember-resolver": "^5.0.1",
|
|
"ember-responsive": "^3.0.0",
|
|
"ember-sinon": "^2.2.0",
|
|
"ember-source": "~3.4.0",
|
|
"ember-test-selectors": "^2.1.0",
|
|
"ember-truth-helpers": "^2.0.0",
|
|
"eslint": "^5.16.0",
|
|
"flat": "^4.0.0",
|
|
"fuse.js": "^3.4.4",
|
|
"husky": "^1.3.1",
|
|
"ivy-codemirror": "^2.1.0",
|
|
"lint-staged": "^8.1.5",
|
|
"loader.js": "^4.7.0",
|
|
"lodash.intersection": "^4.4.0",
|
|
"prettier": "^1.4.4",
|
|
"query-string": "^5.0.0",
|
|
"sass": "^1.17.3"
|
|
},
|
|
"engines": {
|
|
"node": "6.* || 8.* || >= 10.*"
|
|
},
|
|
"private": true,
|
|
"ember-addon": {
|
|
"paths": ["lib/bulma"]
|
|
},
|
|
"dependencies": {
|
|
"lru_map": "^0.3.3"
|
|
}
|
|
}
|