Skip to content

Commit

Permalink
fix(test): remove typescript compilation test code
Browse files Browse the repository at this point in the history
  • Loading branch information
seia-soto committed Jun 27, 2024
1 parent cd376cd commit 83691e9
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/adblocker-e2e-testing/test/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,6 @@ describe('#createServer', () => {
expect(response.headers['content-type']).to.be.eql('text/html');
});

it('handles typescript compilation', async () => {
const url = new URL(address);
url.pathname = '/script.ts';

const response = await request(url);

expect(response.statusCode).to.be.eql(200);
expect(response.headers['content-type']).to.be.eql('text/javascript');
// Check if the transpilation is done for browsers
expect(response.body).not.to.include('Object.defineProperty(exports');
});

after(async () => {
server.close(() => {
console.log('Test server closed.');
Expand Down

0 comments on commit 83691e9

Please sign in to comment.