We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 160be4a commit 9227f13Copy full SHA for 9227f13
src/lib/get-settings/get-settings.test.js
@@ -1,8 +1,10 @@
1
import getSettings from './index.js';
2
3
describe('replacements', () => {
4
- it('should return nothing with no settings set', () => {
5
- expect(getSettings()).toEqual(undefined);
+ it('should return the default config with no settings set', () => {
+ const derivedSettings = getSettings();
6
+ expect(derivedSettings.extends).toEqual('lighthouse:default');
7
+ expect(derivedSettings.settings).toEqual({});
8
});
9
10
it('should return a template config with preset set to desktop', () => {
0 commit comments