Skip to content

Commit

Permalink
fix tests due to no aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka committed Sep 13, 2024
1 parent 48d209b commit 94ac7ab
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions tests/scriptlets/prevent-adfly.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,6 @@ const afterEach = () => {

module(name, { beforeEach, afterEach });

test('Checking if alias name works', (assert) => {
const adgParams = {
name,
engine: 'test',
verbose: true,
};
const uboParams = {
name: 'ubo-adfly-defuser.js',
engine: 'test',
verbose: true,
};

const codeByAdgParams = window.scriptlets.invoke(adgParams);
const codeByUboParams = window.scriptlets.invoke(uboParams);

assert.strictEqual(codeByAdgParams, codeByUboParams, 'ubo name - ok');
});

test('ag works', (assert) => {
assert.expect(2);
const nativeDefineProperty = Object.defineProperty;
Expand Down

0 comments on commit 94ac7ab

Please sign in to comment.