diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-05-31 13:24:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 13:24:40 -0400 |
commit | 003cf791b1575d2e6e1e6f4bb5cd3d7f77601d7e (patch) | |
tree | 7253898b1943f1560f50e1c715dbb72a78ad8fc2 /test | |
parent | 6da81d59c34e58454ad12afe34d363b0c1e33bc7 (diff) |
Update build script (#1722)
* Add support for making non-buildable variants
* Add support for running a command to assign a value
* Update chrome-dev inheritance
* Add base variant
* Update manifest to auto-fill the version based on most recent git tag
* Add support for changing the default manifest
* Change the default manifest
* Move some manifest utility functions into manifest-util.js
* Move more manifest functionality into ManifestUtil
* Revert "Update manifest to auto-fill the version based on most recent git tag"
This reverts commit 2a66e40ff24f9dc545783503bcf3404f21148356.
Diffstat (limited to 'test')
-rw-r--r-- | test/test-manifest.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test-manifest.js b/test/test-manifest.js index ab2119ac..8b9e754d 100644 --- a/test/test-manifest.js +++ b/test/test-manifest.js @@ -18,7 +18,8 @@ const fs = require('fs'); const path = require('path'); const assert = require('assert'); -const {getDefaultManifest, createManifestString, testMain} = require('../dev/util'); +const {testMain} = require('../dev/util'); +const {ManifestUtil} = require('../dev/manifest-util'); function loadManifestString() { @@ -27,8 +28,9 @@ function loadManifestString() { } function validateManifest() { + const manifestUtil = new ManifestUtil(); const manifest1 = loadManifestString(); - const manifest2 = createManifestString(getDefaultManifest()); + const manifest2 = ManifestUtil.createManifestString(manifestUtil.getManifest()); assert.strictEqual(manifest1, manifest2, 'Manifest data does not match.'); } |