feat(docs-infra): generate Angular CLI command reference (#25363)

PR Close #25363
This commit is contained in:
Pete Bacon Darwin
2018-09-14 10:05:57 +01:00
committed by Kara Erickson
parent 39a67548ac
commit f29b218060
28 changed files with 965 additions and 15 deletions

View File

@ -0,0 +1,17 @@
var factory = require('./cliNegate');
describe('cliNegate filter', function() {
var filter;
beforeEach(function() { filter = factory(); });
it('should be called "cliNegate"', function() { expect(filter.name).toEqual('cliNegate'); });
it('should make the first char uppercase and add `no` to the front', function() {
expect(filter.process('abc')).toEqual('noAbc');
});
it('should make leave the rest of the chars alone', function() {
expect(filter.process('abCdE')).toEqual('noAbCdE');
});
});