Skip to content

Commit

Permalink
bumps deps
Browse files Browse the repository at this point in the history
  • Loading branch information
metatarz committed Mar 28, 2022
1 parent 74fa231 commit 943199c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 18 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## v. 0.5.5 (28/3/2022)
## v. 0.5.6 (28/3/2022)

- Upgrades packages

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sustainability",
"version": "0.5.5",
"version": "0.5.6",
"description": "Digital Sustainability Audits",
"main": "build/index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion src/sustainability/sustainability.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export default class Sustainability {
},
audit: report,
};
//this._settings.pipe?.push(JSON.stringify(pushStream));
this._settings.pipe.push(JSON.stringify(pushStream));

if (this._settings.pipeTerminateOnEnd) {
this._settings.pipe.push(null);
Expand Down
10 changes: 1 addition & 9 deletions test/Sustainability.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,13 @@ describe("Sustainability", () => {
expect(report).toBeTruthy();
});
it("works with coldRun disabled and streams enabled", async () => {
Sustainability.auditStream.pipe(process.stdout);
await runAudit("animations", {
connectionSettings: { coldRun: false, streams: true },
});
expect(true).toBeTruthy();
});
it("streams id when streams are enabled and id in settings", async () => {
Sustainability.auditStream.pipe(process.stdout);
await runAudit("animations", {
id: "0x12221ae",
connectionSettings: { streams: true },
connectionSettings: { coldRun: false, streams: true },
});
expect(true).toBeTruthy();
});

it("custom stream pipe work", async () => {
const readableStream = new Readable({
read() {},
Expand Down
6 changes: 3 additions & 3 deletions test/examples/animations-switch-tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@
<body>
<section class="slideshow">
<div class="slideshow-container slide">
<img src="http://placeimg.com/625/225/animals"/>
<img src="http://placeimg.com/625/225/animals"/>
<img src="http://placeimg.com/625/225/arch"/>
<img src="./images/400.jpeg">
<img src="./images/400.jpeg">
<img src="./images/400.jpeg">
</div>
</section>
<section class="long">
Expand Down
6 changes: 3 additions & 3 deletions test/examples/animations.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@
<body>
<section class="slideshow">
<div class="slideshow-container slide">
<img src="http://placeimg.com/625/225/animals"/>
<img src="http://placeimg.com/625/225/animals"/>
<img src="http://placeimg.com/625/225/arch"/>
<img src="./images/400.jpeg">
<img src="./images/400.jpeg">
<img src="./images/400.jpeg">
</div>
</section>
<section class="long">
Expand Down

0 comments on commit 943199c

Please sign in to comment.