Skip to content

Commit 0cdcdf6

Browse files
committed
fix audit name
1 parent 41ed624 commit 0cdcdf6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/get-settings/get-settings.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('replacements', () => {
3636

3737
it('should add skipAudits if using a deployUrl', () => {
3838
const derivedSettings = getSettings({ preset: 'desktop' }, true);
39-
expect(derivedSettings.settings.skipAudits).toEqual(['seo/is-crawlable']);
39+
expect(derivedSettings.settings.skipAudits).toEqual(['is-crawlable']);
4040
});
4141

4242
it('should error with incorrect syntax for process.env.SETTINGS', () => {

src/lib/get-settings/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const getSettings = (inputSettings, isUsingDeployUrl) => {
3838
// If we are running against the Netlify deploy URL, the injected x-robots-tag will always cause the audit to fail,
3939
// likely producing a false positive, so we skip in this case
4040
if (isUsingDeployUrl) {
41-
derivedSettings.settings.skipAudits = ['seo/is-crawlable'];
41+
derivedSettings.settings.skipAudits = ['is-crawlable'];
4242
}
4343

4444
return derivedSettings;

0 commit comments

Comments
 (0)