This commit is contained in:
AJ ONeal 2019-11-04 21:04:39 -07:00
parent 30884601c6
commit 63f2f02da9
1 changed files with 10 additions and 5 deletions

View File

@ -85,6 +85,7 @@ It will generate a bare bones manager that passes the tests,
<details>
<summary>manager.js</summary>
```js
"use strict";
@ -92,7 +93,7 @@ var Manager = module.exports;
var db = {};
Manager.create = function(opts) {
var manager = {};
var manager = {};
//
// REQUIRED (basic issuance)
@ -163,13 +164,14 @@ var manager = {};
//*/
return manager;
};
```
````
</details>
<details>
<summary>manager.test.js</summary>
```js
"use strict";
@ -186,7 +188,10 @@ Tester.test(Manager, config)
console.info();
console.info("Optional Feature Support:");
features.forEach(function(feature) {
console.info(feature.supported ? "✓ (YES)" : "✘ (NO) ", feature.description);
console.info(
feature.supported ? "✓ (YES)" : "✘ (NO) ",
feature.description
);
});
console.info();
})
@ -196,7 +201,7 @@ Tester.test(Manager, config)
console.error();
console.error("That's all I know.");
});
````
```
</details>