Skip to content

Commit 98ed7b2

Browse files
committed
minor #1115 Tidying up fixes for preact (weaverryan)
This PR was merged into the main branch. Discussion ---------- Tidying up fixes for preact Fixes up tests for #762 Commits ------- b74f1db tidying up fixes for preact
2 parents b33cceb + b74f1db commit 98ed7b2

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)