mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
committed by
Dylan Hunn
parent
a1ca376cab
commit
acb95f5219
@@ -10,7 +10,7 @@ const {green, red} = require('chalk');
|
||||
const fetch = require('node-fetch');
|
||||
const {join} = require('path');
|
||||
|
||||
/** The full path to the contributons.json fie. */
|
||||
/** The full path to the contributors.json file. */
|
||||
const contributorsFilePath = join(__dirname, '../content/marketing/contributors.json');
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ describe('toId filter', function() {
|
||||
it('should be called "toId"', function() { expect(filter.name).toEqual('toId'); });
|
||||
|
||||
it('should convert a string to make it appropriate for use as an HTML id', function() {
|
||||
expect(filter.process('This is a big string with €bad#characaters¢\nAnd even NewLines'))
|
||||
.toEqual('This-is-a-big-string-with--bad-characaters--And-even-NewLines');
|
||||
expect(filter.process('This is a big string with €bad#characters¢\nAnd even NewLines'))
|
||||
.toEqual('This-is-a-big-string-with--bad-characters--And-even-NewLines');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user