diff options
author | 2021-11-19 14:08:35 -0500 | |
---|---|---|
committer | 2021-11-19 14:08:35 -0500 | |
commit | 14d703154488879f9e44f208614908b21ccc2091 (patch) | |
tree | 79baa4b64f437bef3b5240c11069af0095d7abf9 | |
parent | 8733599e6180ada5770a6d1ed056d2a467cd84ed (diff) | |
download | astro-14d703154488879f9e44f208614908b21ccc2091.tar.gz astro-14d703154488879f9e44f208614908b21ccc2091.tar.zst astro-14d703154488879f9e44f208614908b21ccc2091.zip |
Fix RegExp#test in Config test (#1922)
-rw-r--r-- | packages/astro/test/config.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/test/config.test.js b/packages/astro/test/config.test.js index 693a74ab7..dc07637d3 100644 --- a/packages/astro/test/config.test.js +++ b/packages/astro/test/config.test.js @@ -22,7 +22,7 @@ describe('config', () => { proc.stdout.setEncoding('utf8'); for await (const chunk of proc.stdout) { - if (/Local:/.it(chunk)) { + if (/Local:/.test(chunk)) { expect(chunk).to.include('127.0.0.1'); break; } @@ -40,7 +40,7 @@ describe('config', () => { process.stdout.setEncoding('utf8'); for await (const chunk of process.stdout) { - if (/Server started/.it(chunk)) { + if (/Server started/.test(chunk)) { break; } } |