docs: fix several typos (#44508)

PR Close #44508
This commit is contained in:
Borja Paz Rodríguez
2021-12-16 16:58:17 +01:00
committed by Dylan Hunn
parent a1ca376cab
commit acb95f5219
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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');
});
});
});