slicetest 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +118 -30
- package/dist/app.js +10 -2
- package/dist/auth.js +2 -1
- package/dist/cli-run.d.ts +40 -0
- package/dist/cli-run.js +65 -0
- package/dist/cli.js +20 -34
- package/dist/config.d.ts +33 -2
- package/dist/config.js +82 -8
- package/dist/container-runtime.d.ts +4 -0
- package/dist/container-runtime.js +16 -0
- package/dist/containers.js +4 -3
- package/dist/db.d.ts +3 -1
- package/dist/db.js +45 -8
- package/dist/deadline.d.ts +7 -0
- package/dist/deadline.js +24 -0
- package/dist/doctor.js +27 -5
- package/dist/drivers/driver.d.ts +6 -0
- package/dist/drivers/mysql.js +5 -1
- package/dist/drivers/postgres.d.ts +2 -0
- package/dist/drivers/postgres.js +20 -1
- package/dist/exit.d.ts +1 -0
- package/dist/exit.js +28 -0
- package/dist/form.d.ts +1 -0
- package/dist/form.js +50 -6
- package/dist/har.js +2 -2
- package/dist/http.d.ts +9 -3
- package/dist/http.js +40 -5
- package/dist/init.js +11 -2
- package/dist/list.d.ts +1 -0
- package/dist/list.js +16 -3
- package/dist/mail.d.ts +1 -1
- package/dist/mail.js +7 -7
- package/dist/matchers.d.ts +4 -3
- package/dist/matchers.js +18 -6
- package/dist/openapi.d.ts +2 -0
- package/dist/openapi.js +133 -14
- package/dist/record-cli.js +2 -1
- package/dist/record.js +2 -1
- package/dist/recording.d.ts +4 -1
- package/dist/recording.js +14 -3
- package/dist/request-url.d.ts +1 -0
- package/dist/request-url.js +5 -0
- package/dist/runtime.d.ts +3 -3
- package/dist/runtime.js +132 -18
- package/dist/scenario.js +11 -2
- package/dist/stub.js +17 -6
- package/dist/vitest.d.ts +4 -0
- package/dist/vitest.js +6 -2
- package/dist/webhook.d.ts +3 -3
- package/dist/webhook.js +10 -2
- package/dist/yaml-runtime.d.ts +4 -4
- package/dist/yaml-runtime.js +96 -34
- package/dist/yaml.d.ts +4 -0
- package/dist/yaml.js +33 -2
- package/docs/guarantees.md +92 -0
- package/docs/state-isolation.md +94 -0
- package/package.json +4 -1
- package/schema/config.schema.json +675 -0
- package/schema/scenario.schema.json +27 -3
|
@@ -595,7 +595,11 @@
|
|
|
595
595
|
"gitlab",
|
|
596
596
|
"zoom",
|
|
597
597
|
"twitch",
|
|
598
|
-
"twilio"
|
|
598
|
+
"twilio",
|
|
599
|
+
"typeform",
|
|
600
|
+
"notion",
|
|
601
|
+
"bitbucket",
|
|
602
|
+
"intercom"
|
|
599
603
|
]
|
|
600
604
|
},
|
|
601
605
|
{
|
|
@@ -704,13 +708,13 @@
|
|
|
704
708
|
"statuses": {
|
|
705
709
|
"type": "object",
|
|
706
710
|
"propertyNames": {
|
|
707
|
-
"pattern": "
|
|
711
|
+
"pattern": "^(\\d{3}|[1-5][xX][xX])$"
|
|
708
712
|
},
|
|
709
713
|
"additionalProperties": {
|
|
710
714
|
"type": "integer",
|
|
711
715
|
"minimum": 0
|
|
712
716
|
},
|
|
713
|
-
"description": "With `concurrency`: how many responses have each status, e.g. { 201: 1, 409: 9 }"
|
|
717
|
+
"description": "With `concurrency`: how many responses have each status or class, e.g. { 201: 1, 409: 9 } or { 2xx: 1, 4xx: 9 }"
|
|
714
718
|
},
|
|
715
719
|
"queries": {
|
|
716
720
|
"type": "integer",
|
|
@@ -1559,6 +1563,10 @@
|
|
|
1559
1563
|
"properties": {
|
|
1560
1564
|
"$regex": {
|
|
1561
1565
|
"type": "string"
|
|
1566
|
+
},
|
|
1567
|
+
"$options": {
|
|
1568
|
+
"type": "string",
|
|
1569
|
+
"description": "Flags for $regex, e.g. i"
|
|
1562
1570
|
}
|
|
1563
1571
|
}
|
|
1564
1572
|
}
|
|
@@ -1578,6 +1586,10 @@
|
|
|
1578
1586
|
"properties": {
|
|
1579
1587
|
"$regex": {
|
|
1580
1588
|
"type": "string"
|
|
1589
|
+
},
|
|
1590
|
+
"$options": {
|
|
1591
|
+
"type": "string",
|
|
1592
|
+
"description": "Flags for $regex, e.g. i"
|
|
1581
1593
|
}
|
|
1582
1594
|
}
|
|
1583
1595
|
}
|
|
@@ -1597,6 +1609,10 @@
|
|
|
1597
1609
|
"properties": {
|
|
1598
1610
|
"$regex": {
|
|
1599
1611
|
"type": "string"
|
|
1612
|
+
},
|
|
1613
|
+
"$options": {
|
|
1614
|
+
"type": "string",
|
|
1615
|
+
"description": "Flags for $regex, e.g. i"
|
|
1600
1616
|
}
|
|
1601
1617
|
}
|
|
1602
1618
|
}
|
|
@@ -1616,6 +1632,10 @@
|
|
|
1616
1632
|
"properties": {
|
|
1617
1633
|
"$regex": {
|
|
1618
1634
|
"type": "string"
|
|
1635
|
+
},
|
|
1636
|
+
"$options": {
|
|
1637
|
+
"type": "string",
|
|
1638
|
+
"description": "Flags for $regex, e.g. i"
|
|
1619
1639
|
}
|
|
1620
1640
|
}
|
|
1621
1641
|
}
|
|
@@ -1635,6 +1655,10 @@
|
|
|
1635
1655
|
"properties": {
|
|
1636
1656
|
"$regex": {
|
|
1637
1657
|
"type": "string"
|
|
1658
|
+
},
|
|
1659
|
+
"$options": {
|
|
1660
|
+
"type": "string",
|
|
1661
|
+
"description": "Flags for $regex, e.g. i"
|
|
1638
1662
|
}
|
|
1639
1663
|
}
|
|
1640
1664
|
}
|