Skip to content

Commit

Permalink
testing a fix in CI, revert
Browse files Browse the repository at this point in the history
  • Loading branch information
gaiety-deque committed May 14, 2024
1 parent 6bc8763 commit 0dd9bb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/integration/full/patch/patch.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function mockWindowCSS() {
describe('patch test', function () {
it('when not mocked, imports and works as expected', async function () {
try {
const { default: Color } = await import('/unpatched/color.js');
const { default: Color } = await import('/unpatched-color.js');
let color = new Color('slategray');
assert.ok(color);
} catch (error) {
Expand All @@ -39,7 +39,7 @@ describe('patch test', function () {

it('not patched: `CSS.supports` fails to load when `window.CSS === null`', async function () {
try {
await import('/unpatched/color.js');
await import('/unpatched-color.js');
} catch ({ name, message }) {
assert.equal(name, 'TypeError');
assert.equal(
Expand Down
2 changes: 1 addition & 1 deletion test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ module.exports = function (config) {
].concat(testPaths),
proxies: {
'/color.js': '/base/node_modules/colorjs.io/dist/color.js',
'/unpatched': '/base/patches/unpatched',
'/unpatched-color.js': '/base/patches/unpatched/color.js',
'/test': '/base/test',
'/mock': '/base/test/mock',
'/integration': '/base/test/integration',
Expand Down

0 comments on commit 0dd9bb5

Please sign in to comment.