summaryrefslogtreecommitdiff
path: root/packages/integrations/vercel/test/split.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/vercel/test/split.test.js')
-rw-r--r--packages/integrations/vercel/test/split.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/vercel/test/split.test.js b/packages/integrations/vercel/test/split.test.js
index 85affb3ff..3f4e75d1b 100644
--- a/packages/integrations/vercel/test/split.test.js
+++ b/packages/integrations/vercel/test/split.test.js
@@ -15,12 +15,12 @@ describe('build: split', () => {
it('creates separate functions for each page', async () => {
const files = await fixture.readdir('../.vercel/output/functions/');
- expect(files.length).to.equal(2);
+ expect(files.length).to.equal(3);
});
it('creates the route definitions in the config.json', async () => {
const json = await fixture.readFile('../.vercel/output/config.json');
const config = JSON.parse(json);
- expect(config.routes).to.have.a.lengthOf(4);
+ expect(config.routes).to.have.a.lengthOf(5);
});
});