Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
fix: only test stream api on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Soontao committed Jul 7, 2020
1 parent cbff854 commit 6f5c126
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OData(V4) Server

[![npm (scoped)](https://img.shields.io/npm/v/@odata/parser)](https://www.npmjs.com/package/@odata/parser)
[![npm (scoped)](https://img.shields.io/npm/v/@odata/server)](https://www.npmjs.com/package/@odata/server)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Soontao/odata-v4-server/Node%20CI?label=nodejs)](https://github.com/Soontao/odata-v4-server/actions?query=workflow%3A%Node+CI%22)
[![Codecov](https://codecov.io/gh/Soontao/odata-v4-server/branch/master/graph/badge.svg)](https://codecov.io/gh/Soontao/odata-v4-server)

Expand Down
6 changes: 3 additions & 3 deletions src/test/http.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -598,10 +598,10 @@ describe('OData HTTP', () => {
});
})));

let d = describe
let d = describe.skip

if (platform() == "win32") {
d = describe.skip
if (platform() == "linux") {
d = describe
}

describe('Stream properties', () => {
Expand Down
7 changes: 4 additions & 3 deletions src/test/stream.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,10 +471,11 @@ if (typeof describe == 'function') {
});
});
});
let d = describe

let d = describe.skip

if (platform() == "win32") {
d = describe.skip
if (platform() == "linux") {
d = describe
}

d('Stream properties', () => {
Expand Down

0 comments on commit 6f5c126

Please sign in to comment.