-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: updated stripe web sdk tests for node18
- Loading branch information
Showing
8 changed files
with
225 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"projects": { | ||
"default": "extensions-testing" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
firebase-debug.log* | ||
firebase-debug.*.log* | ||
|
||
# Firebase cache | ||
.firebase/ | ||
|
||
# Firebase config | ||
|
||
# Uncomment this if you'd like others to create their own Firebase project. | ||
# For a team working on the same Firebase project(s), it is recommended to leave | ||
# it commented so all members can deploy to the same project(s) in .firebaserc. | ||
# .firebaserc | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"emulators": { | ||
"firestore": { | ||
"port": 8080, | ||
"host": "0.0.0.0" | ||
}, | ||
"auth": { | ||
"port": 9099, | ||
"host": "0.0.0.0" | ||
}, | ||
"ui": { | ||
"enabled": true | ||
} | ||
}, | ||
"firestore": { | ||
"rules": "firestore.rules", | ||
"indexes": "firestore.indexes.json" | ||
} | ||
} |
123 changes: 123 additions & 0 deletions
123
firestore-stripe-web-sdk/_emulator/firestore.indexes.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
{ | ||
"indexes": [ | ||
{ | ||
"collectionGroup": "acknowledgements", | ||
"queryScope": "COLLECTION_GROUP", | ||
"fields": [ | ||
{ | ||
"fieldPath": "ackEvent", | ||
"order": "ASCENDING" | ||
}, | ||
{ | ||
"fieldPath": "userId", | ||
"order": "ASCENDING" | ||
}, | ||
{ | ||
"fieldPath": "createdAt", | ||
"order": "DESCENDING" | ||
} | ||
] | ||
}, | ||
{ | ||
"collectionGroup": "acknowledgements", | ||
"queryScope": "COLLECTION", | ||
"fields": [ | ||
{ | ||
"fieldPath": "userId", | ||
"order": "ASCENDING" | ||
}, | ||
{ | ||
"fieldPath": "createdAt", | ||
"order": "DESCENDING" | ||
} | ||
] | ||
}, | ||
{ | ||
"collectionGroup": "notices", | ||
"queryScope": "COLLECTION", | ||
"fields": [ | ||
{ | ||
"fieldPath": "type", | ||
"order": "ASCENDING" | ||
}, | ||
{ | ||
"fieldPath": "createdAt", | ||
"order": "DESCENDING" | ||
} | ||
] | ||
}, | ||
{ | ||
"collectionGroup": "notices", | ||
"queryScope": "COLLECTION", | ||
"fields": [ | ||
{ | ||
"fieldPath": "type", | ||
"order": "ASCENDING" | ||
}, | ||
{ | ||
"fieldPath": "version", | ||
"order": "ASCENDING" | ||
}, | ||
{ | ||
"fieldPath": "createdAt", | ||
"order": "DESCENDING" | ||
} | ||
] | ||
}, | ||
{ | ||
"collectionGroup": "queued_writes", | ||
"queryScope": "COLLECTION", | ||
"fields": [ | ||
{ | ||
"fieldPath": "state", | ||
"order": "ASCENDING" | ||
}, | ||
{ | ||
"fieldPath": "deliverTime", | ||
"order": "ASCENDING" | ||
} | ||
] | ||
}, | ||
{ | ||
"collectionGroup": "queued_writes", | ||
"queryScope": "COLLECTION", | ||
"fields": [ | ||
{ | ||
"fieldPath": "state", | ||
"order": "ASCENDING" | ||
}, | ||
{ | ||
"fieldPath": "leaseExpireTime", | ||
"order": "ASCENDING" | ||
} | ||
] | ||
}, | ||
{ | ||
"collectionGroup": "reviews", | ||
"queryScope": "COLLECTION_GROUP", | ||
"fields": [ | ||
{ | ||
"fieldPath": "Id", | ||
"order": "ASCENDING" | ||
}, | ||
{ | ||
"fieldPath": "Desription", | ||
"order": "ASCENDING" | ||
} | ||
] | ||
} | ||
], | ||
"fieldOverrides": [ | ||
{ | ||
"collectionGroup": "subcollection", | ||
"fieldPath": "foo", | ||
"ttl": false, | ||
"indexes": [ | ||
{ | ||
"order": "ASCENDING", | ||
"queryScope": "COLLECTION_GROUP" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
rules_version = '2'; | ||
service cloud.firestore { | ||
match /databases/{database}/documents { | ||
match /{document=**} { | ||
allow read, write: if true; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters