diff options
Diffstat (limited to 'packages/integrations/vue/test/app-entrypoint.test.js')
-rw-r--r-- | packages/integrations/vue/test/app-entrypoint.test.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/integrations/vue/test/app-entrypoint.test.js b/packages/integrations/vue/test/app-entrypoint.test.js index 5cdae3c04..5c0437636 100644 --- a/packages/integrations/vue/test/app-entrypoint.test.js +++ b/packages/integrations/vue/test/app-entrypoint.test.js @@ -41,7 +41,7 @@ describe('App Entrypoint', () => { assert.notEqual(client, undefined); const js = await fixture.readFile(client); - assert.match(js, /\w+\.component\(\"Bar\"/gm); + assert.match(js, /\w+\.component\("Bar"/g); }); it('loads svg components without transforming them to assets', async () => { @@ -112,7 +112,7 @@ describe('App Entrypoint no export default', () => { const client = island.getAttribute('renderer-url'); assert.notEqual(client, undefined); const js = await fixture.readFile(client); - assert.doesNotMatch(js, /\w+\.component\(\"Bar\"/gm); + assert.doesNotMatch(js, /\w+\.component\("Bar"/g); }); it('loads svg components without transforming them to assets', async () => { @@ -151,7 +151,7 @@ describe('App Entrypoint relative', () => { assert.notEqual(client, undefined); const js = await fixture.readFile(client); - assert.doesNotMatch(js, /\w+\.component\(\"Bar\"/gm); + assert.doesNotMatch(js, /\w+\.component\("Bar"/g); }); }); @@ -182,7 +182,7 @@ describe('App Entrypoint /src/absolute', () => { assert.notEqual(client, undefined); const js = await fixture.readFile(client); - assert.doesNotMatch(js, /\w+\.component\(\"Bar\"/gm); + assert.doesNotMatch(js, /\w+\.component\("Bar"/g); }); }); |