Skip to content

Commit

Permalink
Update @babel/ dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Nov 3, 2022
1 parent 493ac6c commit 80ab7d0
Show file tree
Hide file tree
Showing 4 changed files with 1,174 additions and 1,360 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
},
"devDependencies": {
"@ava/babel": "^1.0.1",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"ava": "^3.13.0",
"babel-eslint": "^10.0.1",
"babel-plugin-istanbul": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/test-legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ webpack(config, (err, stats) => {
assert.strictEqual(files.length, 1);
fs.readFile(path.join(__dirname, "test-legacy-source/output", files[0]), (err, data) => {
assert.strictEqual(err, null);
const test = "var App = function App()";
const test = "function App()";
const subject = data.toString();

assert.notStrictEqual(subject.indexOf(test), -1);
Expand Down
2 changes: 1 addition & 1 deletion test/loader.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test.cb("should transpile the code snippet", t => {
t.true(files.length === 1);
fs.readFile(path.resolve(t.context.directory, files[0]), (err, data) => {
t.is(err, null);
const test = "var App = function App()";
const test = "function App()";
const subject = data.toString();

t.not(subject.indexOf(test), -1);
Expand Down
Loading

0 comments on commit 80ab7d0

Please sign in to comment.