Skip to content

Commit

Permalink
Merge 84a9406 into d9f9ede
Browse files Browse the repository at this point in the history
  • Loading branch information
cajames committed Jun 20, 2019
2 parents d9f9ede + 84a9406 commit 2cee889
Show file tree
Hide file tree
Showing 4 changed files with 2,678 additions and 1,673 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
collectCoverage: true,
testURL: "http://localhost/",
collectCoverageFrom: [
"src/**/*.ts",
"!**/*.d.ts",
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
"scripts"
],
"devDependencies": {
"@types/jest": "^23.3.0",
"@types/jest": "^24.0.15",
"conventional-changelog-cli": "^2.0.1",
"coveralls": "^3.0.2",
"jest": "^23.4.1",
"np": "^3.0.4",
"rollup": "^0.63.5",
"rollup-plugin-typescript2": "^0.16.1",
"ts-jest": "^23.0.1",
"jest": "^24.8.0",
"np": "^5.0.3",
"rollup": "^1.15.6",
"rollup-plugin-typescript2": "^0.21.2",
"ts-jest": "^24.0.2",
"typescript": "^3.0.1"
}
}
2 changes: 1 addition & 1 deletion src/__tests__/dom-injector.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe("dom-injector", () => {
describe("#getScriptTagWithSrc", () => {
it("should return a script tag with src set", () => {
const script = injector.getScriptTagWithSrc("//someurl.com");
expect(script.src).toBe("//someurl.com");
expect(script.src).toBe("http://someurl.com/");
});
it("should return a script tag with async true if async defined", () => {
const script = injector.getScriptTagWithSrc("//test.com", true);
Expand Down

0 comments on commit 2cee889

Please sign in to comment.