diff --git a/vega/vega-tests.ts b/vega/vega-tests.ts index 2cbf9d7b9..bdb4973b3 100644 --- a/vega/vega-tests.ts +++ b/vega/vega-tests.ts @@ -1287,7 +1287,7 @@ var specs: Vega.Spec[] = [ "name": "x", "type": "linear", "range": "width", - "reverse": {"field": "index"}, + "reverse": true, "nice": true, "domain": {"data": "pop2000", "field": "data.people"} } diff --git a/vinyl-fs/vinyl-fs-tests.ts b/vinyl-fs/vinyl-fs-tests.ts index 9fbc45faf..a29746166 100644 --- a/vinyl-fs/vinyl-fs-tests.ts +++ b/vinyl-fs/vinyl-fs-tests.ts @@ -379,7 +379,7 @@ describe('dest stream', function () { cwd: __dirname, path: inputPath, contents: expectedContents, - stat: { + stat: { mode: expectedMode } }); @@ -420,7 +420,7 @@ describe('dest stream', function () { cwd: __dirname, path: inputPath, contents: contentStream, - stat: { + stat: { mode: expectedMode } }); @@ -463,7 +463,7 @@ describe('dest stream', function () { cwd: __dirname, path: inputPath, contents: null, - stat: { + stat: { isDirectory: function () { return true; }, @@ -713,7 +713,7 @@ describe('symlink stream', function () { cwd: __dirname, path: inputPath, contents: expectedContents, - stat: { + stat: { mode: expectedMode } }); @@ -754,7 +754,7 @@ describe('symlink stream', function () { cwd: __dirname, path: inputPath, contents: contentStream, - stat: { + stat: { mode: expectedMode } }); @@ -797,7 +797,7 @@ describe('symlink stream', function () { cwd: __dirname, path: inputPath, contents: null, - stat: { + stat: { isDirectory: function () { return true; }, @@ -874,7 +874,7 @@ describe('symlink stream', function () { cwd: __dirname, path: inputPath, contents: expectedContents, - stat: { + stat: { mode: expectedMode } });