Added test case to check build for TypeScript host-path mayhem.
This commit is contained in:
parent
1c45840148
commit
694c0b3f7d
@ -34,6 +34,11 @@ describe("Dist Build:", function() {
|
||||
|
||||
test('ethers.js');
|
||||
test('ethers.min.js');
|
||||
|
||||
it("does not have host specific includes", function() {
|
||||
var data = fs.readFileSync(path.resolve(__dirname, '../dist/ethers.types.txt')).toString();
|
||||
assert.ok(data.toLowerCase().indexOf('/ricmoo') === -1, 'contains ricmoo in a path');
|
||||
});
|
||||
});
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user