Skip to content

Commit a218e36

Browse files
committed
add new spec
1 parent 9227f13 commit a218e36

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

+5
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ describe('replacements', () => {
3636
expect(derivedSettings.settings.locale).toEqual('es');
3737
});
3838

39+
it('should skip is-crawlable audit when using deployUrl', () => {
40+
const derivedSettings = getSettings({}, true);
41+
expect(derivedSettings.settings.skipAudits).toEqual(['is-crawlable']);
42+
});
43+
3944
it('should error with incorrect syntax for process.env.SETTINGS', () => {
4045
process.env.SETTINGS = 'not json';
4146
expect(getSettings).toThrow(/Invalid JSON/);

0 commit comments

Comments
 (0)