We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6e954c commit 8d9567cCopy full SHA for 8d9567c
dev-packages/bundler-tests/tests/bundling.test.ts
@@ -133,12 +133,12 @@ describe('spotlight', () => {
133
for (const [name, bundler] of cases) {
134
test(`${name} development bundle contains spotlight`, async () => {
135
const code = await bundler('development');
136
- expect(code).includes(SPOTLIGHT_URL);
+ expect(code).toContain(SPOTLIGHT_URL);
137
});
138
139
test(`${name} production bundle does not contain spotlight`, async () => {
140
const code = await bundler('production');
141
- expect(code).not.includes(SPOTLIGHT_URL);
+ expect(code).not.toContain(SPOTLIGHT_URL);
142
143
}
144
0 commit comments