tests(cli): add test for improper unicode encoding (#8162)

and updates swc_ecma_codegen

Closes #8161
This commit is contained in:
Kitson Kelly 2020-11-23 10:22:13 +11:00 committed by GitHub
parent e7fc7d7151
commit fec7fdc691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 2 deletions

View file

@ -1909,6 +1909,7 @@ pub mod tests {
("file:///tests/fixture12.ts", "fixture12.out"),
("file:///tests/fixture13.ts", "fixture13.out"),
("file:///tests/fixture14.ts", "fixture14.out"),
("file:///tests/fixture15.ts", "fixture15.out"),
];
let c = PathBuf::from(env::var_os("CARGO_MANIFEST_DIR").unwrap());
let fixtures = c.join("tests/bundle");