Skip to content

Add explicit tests for Compat #5870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 10, 2022
Merged

Conversation

schmidt-sebastian
Copy link
Contributor

This adds explicit integration tests for Firestore Compat, as I am rewriting the existing integration tests to use the v9 API. Most of the files are just copied. Exceptions are noted.

@changeset-bot
Copy link

changeset-bot bot commented Jan 7, 2022

⚠️ No Changeset found

Latest commit: 2136b1b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@@ -0,0 +1,18 @@
<component name="ProjectRunConfigurationManager">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New IntelliJ test runner, inspired by the existing runner for Firestore.

@@ -0,0 +1,18 @@
/**
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied

@@ -0,0 +1,7 @@
{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied

@@ -0,0 +1,240 @@
/**
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied

@@ -0,0 +1,378 @@
/**
* @license
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied

@@ -0,0 +1,82 @@
/**
* @license
* Copyright 2022 Google LLC
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly copied

* limitations under the License.
*/

import * as firestore from '@firebase/firestore-types';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied

* limitations under the License.
*/

export interface Resolver<R> {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied

* limitations under the License.
*/

import * as firestore from '@firebase/firestore-types';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly copied

@@ -0,0 +1,1425 @@
/**
* @license
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jan 7, 2022

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jan 7, 2022

@schmidt-sebastian schmidt-sebastian merged commit b5084fb into master Jan 10, 2022
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt/compattests branch January 10, 2022 19:34
@firebase firebase locked and limited conversation to collaborators Feb 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants