Skip to content

Commit 9227f13

Browse files
committed
fix spec
1 parent 160be4a commit 9227f13

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import getSettings from './index.js';
22

33
describe('replacements', () => {
4-
it('should return nothing with no settings set', () => {
5-
expect(getSettings()).toEqual(undefined);
4+
it('should return the default config with no settings set', () => {
5+
const derivedSettings = getSettings();
6+
expect(derivedSettings.extends).toEqual('lighthouse:default');
7+
expect(derivedSettings.settings).toEqual({});
68
});
79

810
it('should return a template config with preset set to desktop', () => {

0 commit comments

Comments
 (0)