Skip to content

Commit

Permalink
fix: rebase error
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed Dec 9, 2024
1 parent dd6d8d9 commit 5691769
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"docs/reference",
"tools/@types/*",
"tests/*",
"tests/affine-cloud/*",
"tests/affine-legacy/*"
],
"engines": {
Expand Down
1 change: 1 addition & 0 deletions packages/backend/server/tests/copilot-provider.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ test.before(async t => {
});

test.after(async t => {
if (!isCopilotConfigured) return;
await runPrisma(async client => {
await client.user.delete({
where: {
Expand Down
2 changes: 1 addition & 1 deletion tests/kit/utils/cloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export async function createRandomAIUser(
}> {
const user = {
name: faker.internet.username(),
email: faker.internet.email().toLowerCase(),
email: faker.internet.email({ provider }).toLowerCase(),
password: '123456',
};
const result = await connector(async client => {
Expand Down
22 changes: 21 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,26 @@ __metadata:
languageName: unknown
linkType: soft

"@affine-test/affine-cloud-copilot@workspace:tests/affine-cloud/copilot":
version: 0.0.0-use.local
resolution: "@affine-test/affine-cloud-copilot@workspace:tests/affine-cloud/copilot"
dependencies:
"@affine-test/kit": "workspace:*"
"@affine/server": "workspace:*"
"@playwright/test": "npm:=1.49.0"
ava: "npm:^6.1.2"
languageName: unknown
linkType: soft

"@affine-test/affine-cloud@workspace:tests/affine-cloud/cloud":
version: 0.0.0-use.local
resolution: "@affine-test/affine-cloud@workspace:tests/affine-cloud/cloud"
dependencies:
"@affine-test/kit": "workspace:*"
"@playwright/test": "npm:=1.49.0"
languageName: unknown
linkType: soft

"@affine-test/affine-desktop-cloud@workspace:tests/affine-desktop-cloud":
version: 0.0.0-use.local
resolution: "@affine-test/affine-desktop-cloud@workspace:tests/affine-desktop-cloud"
Expand Down Expand Up @@ -744,7 +764,7 @@ __metadata:
languageName: unknown
linkType: soft

"@affine/server@workspace:packages/backend/server":
"@affine/server@workspace:*, @affine/server@workspace:packages/backend/server":
version: 0.0.0-use.local
resolution: "@affine/server@workspace:packages/backend/server"
dependencies:
Expand Down

0 comments on commit 5691769

Please sign in to comment.