diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2022-12-09 18:41:14 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2022-12-14 10:39:00 +0100 |
| commit | 70e943fc8f2c19f2ba0157ee4121b68c81bf1f60 (patch) | |
| tree | 2a834b06b26947e65eecc6b3baecd7a720db44b7 | |
| parent | 322bf2f04992c115e2f311b51d3fad13e905538f (diff) | |
| download | mullvadvpn-70e943fc8f2c19f2ba0157ee4121b68c81bf1f60.tar.xz mullvadvpn-70e943fc8f2c19f2ba0157ee4121b68c81bf1f60.zip | |
Add config to test executable
| -rw-r--r-- | gui/standalone-tests.ts | 2 | ||||
| -rw-r--r-- | gui/test.pkg.json | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/gui/standalone-tests.ts b/gui/standalone-tests.ts index 3da013ac86..23ba845b98 100644 --- a/gui/standalone-tests.ts +++ b/gui/standalone-tests.ts @@ -10,6 +10,7 @@ import path from 'path'; const tmpDir = path.join(os.tmpdir(), 'mullvad-standalone-tests'); const rootDir = path.join(__dirname, '..'); const nodeModulesDir = path.join(rootDir, 'node_modules'); +const srcDir = path.join(rootDir, 'build', 'src'); const testDir = path.join(rootDir, 'build', 'test'); const nodeBin = process.argv[0]; @@ -32,6 +33,7 @@ function extract() { removeTmpDir(); fs.mkdirSync(tmpDir); + extractDirectory(srcDir); extractDirectory(testDir); extractDirectory(nodeModulesDir); } diff --git a/gui/test.pkg.json b/gui/test.pkg.json index bc9d43ba18..e61c0e5103 100644 --- a/gui/test.pkg.json +++ b/gui/test.pkg.json @@ -5,6 +5,7 @@ "win-x64" ], "assets": [ + "build/src/config.json", "build/test/e2e/utils.js", "build/test/e2e/installed/**/*.js", "node_modules/.bin/playwright", |
