summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/test/config.test.js4
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;
}
}