Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jpuri committed Jul 5, 2022
1 parent e182bf5 commit e6d6e09
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion development/build/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,9 @@ async function bundleMV3AppInitialiser({
if (testing) {
const filePath = require.resolve('@lavamoat/lavapack/src/runtime.js');
const content = readFileSync(filePath);
const fileOutput = content.replace('statsMode = false', 'statsMode = true');
const fileOutput = content
.toString('utf8')
.replace('statsMode = false', 'statsMode = true');
writeFileSync('./dist/chrome/runtime-lavamoat.js', fileOutput);
}

Expand Down
5 changes: 5 additions & 0 deletions test/e2e/mv3/mock.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
describe('Mock MV3 Test', function () {
it('is a dummy test', function () {
console.log('DUMMY TEST');
});
});

0 comments on commit e6d6e09

Please sign in to comment.