Skip to content

Commit

Permalink
compile
Browse files Browse the repository at this point in the history
  • Loading branch information
sonalideshpandemsft committed Jun 16, 2023
1 parent f731071 commit 12e2117
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 44 deletions.
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,4 @@

// Temporary workaround for https://github.com/prettier/prettier-vscode/issues/3000
"prettier.prettierPath": "./node_modules/prettier",
"git-blame.gitWebUrl": ""
}
5 changes: 2 additions & 3 deletions examples/apps/presence-tracker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
},
"license": "MIT",
"author": "Microsoft and contributors",
"main": "dist/index.js",
"main": "lib/index.js",
"module": "lib/index.js",
"types": "dist/index.d.ts",
"types": "lib/index.d.ts",
"scripts": {
"build": "fluid-build . --task build",
"build:compile": "fluid-build . --task compile",
Expand All @@ -38,7 +38,6 @@
},
"dependencies": {
"@fluid-experimental/data-objects": "workspace:~",
"@fluidframework/azure-client": "workspace:~",
"@fluidframework/common-definitions": "^0.20.1",
"@fluidframework/common-utils": "^1.1.1",
"@fluidframework/tinylicious-client": "workspace:~",
Expand Down
19 changes: 3 additions & 16 deletions examples/apps/presence-tracker/tests/presenceTracker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,11 @@ describe("Presence Tracker", () => {
);
});

it("Current User is missing focus", async () => {
it("Current User has focus after focusing", async () => {
await page.click("*");
await page.waitForFunction(
() => document.getElementById("focus-div")?.innerHTML.endsWith("missing focus"),
() => document.getElementById("focus-div")?.innerHTML.endsWith("has focus"),
{ timeout: 10000 },
);
});

it("Current User has focus after focusing", async () => {
await page.click("*");

try {
await page.waitForFunction(
() => document.getElementById("focus-div")?.innerHTML.endsWith("has focus"),
{ timeout: 10000 },
);
} catch (error) {
// Handle the case where the element does not have the expected content
expect(error).toBeNull();
}
});
});
5 changes: 2 additions & 3 deletions experimental/framework/data-objects/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
"lint:fix": "npm run prettier:fix && npm run eslint:fix",
"prettier": "prettier --check . --ignore-path ../../../.prettierignore",
"prettier:fix": "prettier --write . --ignore-path ../../../.prettierignore",
"tsc": "tsc",
"typetests:gen": "fluid-type-test-generator",
"typetests:prepare": "flub generate typetests --prepare --dir . --pin"
"tsc": "tsc"
},
"dependencies": {
"@fluidframework/aqueduct": "workspace:~",
Expand All @@ -55,6 +53,7 @@
"typescript": "~4.5.5"
},
"typeValidation": {
"disabled": true,
"broken": {}
}
}

This file was deleted.

5 changes: 1 addition & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 12e2117

Please sign in to comment.