Skip to content
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

feat: implement browser compatibility testing #1630

Merged
merged 32 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
6ce4041
feat: add browser testing infastructure
danielbate Jan 10, 2024
2d4a087
feat: reorganise crypto tests
danielbate Jan 10, 2024
7aa9cf6
feat: refactor fs promises usage
danielbate Jan 10, 2024
876a8d5
Merge branch 'rc/salamander' of https://github.com/FuelLabs/fuels-ts …
danielbate Jan 10, 2024
eb04e8a
chore: changeset
danielbate Jan 10, 2024
a6a8d67
chore: remove hardlinked deps
danielbate Jan 11, 2024
cbfd311
feat: add browser and os test matrix
danielbate Jan 11, 2024
6cd9a24
feat: add missing os variable to test ci
danielbate Jan 11, 2024
ca8ca85
feat: add no frozen lock file to browser test ci
danielbate Jan 11, 2024
cb890d4
feat: support further packages with browser testing
danielbate Jan 11, 2024
b488252
feat: add no frozen lockfile to browser install script
danielbate Jan 11, 2024
e3c7c37
feat: add conditional name to CI test stage
danielbate Jan 11, 2024
1215558
feat: fix CI test matrix stage naem
danielbate Jan 11, 2024
b4b168f
feat: implement no frozen lockfile for final install in test ci
danielbate Jan 11, 2024
60975ab
feat: change live test stage name
danielbate Jan 11, 2024
2a87ff5
chore: rebuild
danielbate Jan 11, 2024
2224b5a
Merge branch 'rc/salamander' of https://github.com/FuelLabs/fuels-ts …
danielbate Jan 12, 2024
d803cd3
chore: change live ci stage to e2e
danielbate Jan 12, 2024
aa94696
chore: add doc to test ci name
danielbate Jan 12, 2024
af141b9
Merge branch 'rc/salamander' of https://github.com/FuelLabs/fuels-ts …
danielbate Jan 12, 2024
77720a2
Merge branch 'db/feat/browser-testing' of https://github.com/FuelLabs…
danielbate Jan 12, 2024
13a1526
feat: group crypto browser and node tests
danielbate Jan 12, 2024
d918fad
chore: use array of obj for test matrix
danielbate Jan 15, 2024
d219e4a
Merge branch 'rc/salamander' into db/feat/browser-testing
danielbate Jan 15, 2024
14c36ce
test: add missing hasher testr
danielbate Jan 15, 2024
e965a62
chore: add no console lint rule to browser script
danielbate Jan 15, 2024
1b9a3b5
Merge branch 'db/feat/browser-testing' of https://github.com/FuelLabs…
danielbate Jan 15, 2024
8853004
Merge branch 'rc/salamander' into db/feat/browser-testing
danielbate Jan 16, 2024
b8ce5c9
Merge branch 'rc/salamander' into db/feat/browser-testing
danielbate Jan 16, 2024
abcacde
Merge branch 'rc/salamander' into db/feat/browser-testing
danielbate Jan 17, 2024
45b6a3e
chore: remove browser test hardlink script
danielbate Jan 17, 2024
a5a5f95
chore: rebuild
danielbate Jan 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: refactor fs promises usage
  • Loading branch information
danielbate committed Jan 10, 2024
commit 7aa9cf621b37f2314a9dc1872b67acf72bde7c90
1 change: 0 additions & 1 deletion internal/check-tests/src/browser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ import { testEach } from './index';
describe('in:browser', () => {
it('should work on browser', () => {
expect(testEach()).toEqual('browser');
expect(process.env.TEST_ENVIRONMENT).toEqual('browser');
});
});
10 changes: 5 additions & 5 deletions packages/fuel-gauge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
},
"license": "Apache-2.0",
"dependencies": {
"fuels": "workspace:*"
"fuels": "file:../fuels"
},
"devDependencies": {
"@fuel-ts/wallet": "workspace:*",
"@fuel-ts/forc": "workspace:*",
"@fuel-ts/utils": "workspace:*",
"@fuel-ts/errors": "workspace:*"
"@fuel-ts/wallet": "file:../wallet",
"@fuel-ts/forc": "file:../forc",
"@fuel-ts/utils": "file:../utils",
"@fuel-ts/errors": "file:../errors"
}
}
3 changes: 3 additions & 0 deletions vite.browser.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ const config: UserConfig = {
},
}),
],
optimizeDeps: {
exclude: ["fsevents"],
},
test: {
coverage: {
reportsDirectory: "coverage/environments/browser",
Expand Down