Skip to content

Commit ba9279d

Browse files
authored
Merge pull request webpack#4058 from shubheksha/refactor-test-formatLocation
refactor(ES6): formatLocation.test.js
2 parents 9d0ca6f + 5e9b020 commit ba9279d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎test/formatLocation.test.js‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
var should = require("should");
2-
var formatLocation = require("../lib/formatLocation");
1+
"use strict";
2+
3+
const should = require("should");
4+
const formatLocation = require("../lib/formatLocation");
35

46
describe("formatLocation", () => {
5-
var testCases = [{
7+
const testCases = [{
68
name: "undefined",
79
loc: undefined,
810
result: ""

0 commit comments

Comments
 (0)