summaryrefslogtreecommitdiff
path: root/packages/integrations/cloudflare/test
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/cloudflare/test')
-rw-r--r--packages/integrations/cloudflare/test/directory.test.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/integrations/cloudflare/test/directory.test.js b/packages/integrations/cloudflare/test/directory.test.js
index e88019401..371c5f3ff 100644
--- a/packages/integrations/cloudflare/test/directory.test.js
+++ b/packages/integrations/cloudflare/test/directory.test.js
@@ -12,7 +12,7 @@ describe('mode: "directory"', () => {
output: 'server',
adapter: cloudflare({ mode: 'directory' }),
redirects: {
- '/old': '/'
+ '/old': '/',
},
experimental: {
redirects: true,
@@ -30,9 +30,7 @@ describe('mode: "directory"', () => {
try {
let _redirects = await fixture.readFile('/_redirects');
let parts = _redirects.split(/\s+/);
- expect(parts).to.deep.equal([
- '/old', '/', '301'
- ]);
+ expect(parts).to.deep.equal(['/old', '/', '301']);
} catch {
expect(false).to.equal(true);
}