Skip to content

Commit b74f1db

Browse files
committed
tidying up fixes for preact
1 parent b33cceb commit b74f1db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/config-generator.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -877,8 +877,8 @@ describe('The config-generator function', () => {
877877

878878
const actualConfig = configGenerator(config);
879879
expect(actualConfig.resolve.alias).to.include.keys('react', 'react-dom');
880-
expect(actualConfig.resolve.alias['react']).to.equal('preact-compat');
881-
expect(actualConfig.resolve.alias['react-dom']).to.equal('preact-compat');
880+
expect(actualConfig.resolve.alias['react']).to.equal('preact/compat');
881+
expect(actualConfig.resolve.alias['react-dom']).to.equal('preact/compat');
882882
});
883883
});
884884
});

0 commit comments

Comments
 (0)