File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed
Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1313 strategy :
1414 matrix :
1515 node-version :
16- - ' 12'
1716 - ' 14'
1817 - ' 16'
1918 - ' 18'
Original file line number Diff line number Diff line change 6161 "@typescript-eslint/eslint-plugin" : " latest" ,
6262 "@typescript-eslint/parser" : " latest" ,
6363 "assert" : " latest" ,
64- "blob-polyfill" : " latest" ,
6564 "buffer" : " latest" ,
6665 "core-js" : " latest" ,
6766 "eslint" : " latest" ,
Original file line number Diff line number Diff line change 11import assert from "assert" ;
2- import "web-streams-polyfill" ;
32import { encode , decode , decodeAsync } from "@msgpack/msgpack" ;
43
5- const MyBlob : typeof Blob = typeof Blob !== "undefined" ? Blob : require ( "blob-polyfill" ) . Blob ;
6-
74describe ( "Blob" , ( ) => {
85 it ( "decodes it with `decode()`" , async function ( ) {
9- const blob = new MyBlob ( [ encode ( "Hello!" ) ] ) ;
6+ const blob = new Blob ( [ encode ( "Hello!" ) ] ) ;
107 // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
118 if ( ! blob . arrayBuffer ) {
129 this . skip ( ) ;
@@ -15,7 +12,7 @@ describe("Blob", () => {
1512 } ) ;
1613
1714 it ( "decodes it with `decodeAsync()`" , async function ( ) {
18- const blob = new MyBlob ( [ encode ( "Hello!" ) ] ) ;
15+ const blob = new Blob ( [ encode ( "Hello!" ) ] ) ;
1916 // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
2017 if ( ! blob . stream ) {
2118 this . skip ( ) ;
You can’t perform that action at this time.
0 commit comments