From acb95f521925fd30d41b2caaed368b2c9bae753a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borja=20Paz=20Rodr=C3=ADguez?= Date: Thu, 16 Dec 2021 16:58:17 +0100 Subject: [PATCH] docs: fix several typos (#44508) PR Close #44508 --- aio/scripts/test-external-urls.js | 2 +- .../transforms/angular-base-package/rendering/toId.spec.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aio/scripts/test-external-urls.js b/aio/scripts/test-external-urls.js index a0b110ca55b..3de37c26344 100644 --- a/aio/scripts/test-external-urls.js +++ b/aio/scripts/test-external-urls.js @@ -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'); diff --git a/aio/tools/transforms/angular-base-package/rendering/toId.spec.js b/aio/tools/transforms/angular-base-package/rendering/toId.spec.js index 2a6e984a02c..1c8e1f0b108 100644 --- a/aio/tools/transforms/angular-base-package/rendering/toId.spec.js +++ b/aio/tools/transforms/angular-base-package/rendering/toId.spec.js @@ -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'); }); -}); \ No newline at end of file +});