File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
packages/unplugin-vue-i18n/test Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11import { resolve } from 'pathe'
2- import { expect , test } from 'vitest'
2+ import { expect , test as _test } from 'vitest'
33import { bundleVite , bundleAndRun } from '../utils'
44/**
55 * TODO:
66 * custom blocks source map cannot confirm fully supporting
77 * because, seem that vite does not support source map for custom blocks...
88 */
99
10+ const test = process . env . CI ? _test . skip : _test
11+
1012const options = {
1113 sourcemap : true ,
1214 target : './fixtures/locales/' ,
Original file line number Diff line number Diff line change 11import { resolve } from 'pathe'
2- import { expect , test } from 'vitest'
2+ import { expect , test as _test } from 'vitest'
33import { bundleWebpack , bundleAndRun } from '../utils'
44
55const options = {
@@ -8,6 +8,8 @@ const options = {
88 include : [ resolve ( __dirname , '../fixtures/locales/**' ) ]
99}
1010
11+ const test = process . env . CI ? _test . skip : _test
12+
1113test ( 'resource files: json' , async ( ) => {
1214 const { map } = await bundleAndRun ( 'ja.json' , bundleWebpack , options )
1315 expect ( map . mappings ) . toMatchSnapshot ( )
You can’t perform that action at this time.
0 commit comments